Articles in this section
Category / Section

Why it is not possible to access the Word document contents page by page in LightSwitch Silverlight ?

1 min read

The Word document is a flow document in which contents are not preserved page by page; instead, the contents are preserved sequentially, section by section. Each section may extend to various pages based on its contents, such as tables, text, images, etc. A Word viewer/editor dynamically renders the contents of the Word document page by page when opened for viewing or editing, and this page-wise rendered information is not preserved at the document level as per the Word file format specification. In contrast, Essential® DocIO is a non-UI component that provides a full-fledged document object model to manipulate the Word document contents.

Hence, it is not directly possible to access the Word document contents page by page; the same holds true for Essential® DocIO. As a workaround, you can split the contents of each page into separate sections in the Word document and access the contents by sections instead of pages.

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied