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

Free Support Forum - aspose.com

Difference in section break and page break

I want to check paragraph contains section break or page break?
i am getting \f for both, unable to check with meta characters you provide “&b”,"&m" .
i was able to replace with above meta characters but iam unable to report what exactly existed in that paragraph bcoz, paragraph.range.replace is there bot not paragraph.range.contains() not available.

@HarishGali Paragraph can contain only page break character, because Page break is a simple character that forces page break in Word document and is represented as a Run node. Section break is end of Section node. Please see Aspose.Words Document Object Model for more information.
You can use Paragraph.IsEndOfSection property to check if the paragraph is the last paragraph in the Body of a Section.