We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Importing custom defined style from another documents

Hello Team,

I want to import custom defined styles from another document.
StyleIdentifier is importiing only the inbuilt styles. Please, help me find the solution for the same.
Thank You


Thanks for your inquiry. Please use StyleCollection.AddCopy method to copy a style into this collection. The style to be copied can belong to the same document as well as to different document.

Hello Tahir,

Is there a way to apply style to a shape? Like If I want to apply ‘Normal’ style to my shape.

Thank You


Thanks for your inquiry. You can apply style to paragraph that contains Shape node or paragraphs those are child nodes of Shape. Please use ParagraphFormat.Style property to set the paragraph style. If you still face any issue, please ZIP and attach your input and expected output documents here for our reference. We will then provide you more information about your query.