DBDilli Babu Nandha Gopal Syncfusion Team March 28, 2019 12:50 PM
Greetings from Syncfusion.
The Word document is a flow document in which contents will not be preserved page by page; instead the contents will be preserved sequentially section by section.
Word viewer/editor renders the contents of the Word document page by page dynamically when opened for viewing or editing. This page wise rendered information will not be preserved in the saved file level.
Essential DocIO is a non-UI component that provides a full-fledged document object model (logical structure as defined in the file level) to manipulate the Word document contents without converting page by page. So, it is not feasible to identify the particular page (empty page in middle) directly using DocIO.
i can't use this method, deleting blank paragraph.
cause i use a lot of pagebreak between the chapter of my worddocument
and this method will delete the pagebreak.
AVAbirami Varadharajan Syncfusion Team April 1, 2019 07:42 AM
We have prepared a sample application to remove empty paragraphs in the Word document. In DocIO, pageBreak is one of the paragraph item so, it is considered as non-empty paragraph and not removed from the Word document. Please find the sample from the below link: