ViewInfo class
Leave feedback
On this page
Represents view information for a generic document.
The ViewInfo type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of ViewInfo. |
| init | Initializes a new ViewInfo instance. |
| Method | Description |
|---|---|
| to_string | Returns a string that represents the current object. |
from groupdocs.viewer import Viewer
from groupdocs.viewer.options import ViewInfoOptions
with Viewer("sample.docx") as viewer:
options = ViewInfoOptions.for_html_view()
view_info = viewer.get_view_info(options)
for page in view_info.pages:
print(f"Page {page.number}: {page.name}")
- module
groupdocs.viewer.results
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.