The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
DBDilli Babu Nandha Gopal Syncfusion Team March 28, 2019 05:50 PM UTC
Hi AltiDev,
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.
Regards.
AVAbirami Varadharajan Syncfusion Team April 1, 2019 12:42 PM UTC
Hi AltiDev,
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: