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

Free Support Forum - aspose.com

FontSetting vs. TextParagraph when to use one or the other?

I came across the TextParagraph class and see it “expands” on the FontSetting.
Are there any articles on it or a relatively complex code sample for it?

Thank you!


TextParagraph represents a complete block of text which has many properties along with the FontSetting of text in the paragraph. When you have to work with the whole text block, you may access the TextParagraph object whereas for handling the font setting of any object including text in paragraph, or some shape/table/cell etc. use FontSetting. For detailed examples please download examples and search for these words i.e. TextParagraph and FontSetting. You will find many examples which demonstrate these two in detail along with template files.