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

Free Support Forum - aspose.com

How to check paragraph in document has occupy how much space after using aspose.words?

how to check paragraph in document has occupy how much spaceafter using aspose.words?

Hi Deepi,


Thanks for your inquiry. You can calculate occupied space by using GetText() method of paragraph Class. Please follow up the link for more details.

ObjParagraph.GetText().Length

<a href=“http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.paragraph.gettext.html”>http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.paragraph.gettext.html

Hi Deepi,


Thanks for your inquiry.

I think this property may be what you are looking for: http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.paragraphformat.spaceafter.html

Thanks,