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 will not be preserved page by page; instead the contents will be preserved sequentially section by section. Each section may extend to various pages based on its contents like table, text, images etc. Word viewer/editor renders the contents of the Word document page by page dynamically when opened for viewing or editing and these page wise rendered information will not be preserved in the document level as per Word file format specification. Whereas 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 in Essential DocIO. As a workaround you can split the contents of each page as separate section 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 sign in to leave a comment