FileName class
Leave feedback
On this page
The filename.
The FileName type exposes the following members:
| Method | Description |
|---|---|
| to_string | Returns a string that represents the current object. |
from groupdocs.viewer import Viewer
from groupdocs.viewer.options import HtmlViewOptions, FileName
with Viewer("documents.zip") as viewer:
view_options = HtmlViewOptions.for_embedded_resources(
"output/archive_{0}.html"
)
view_options.archive_options.file_name = FileName("Sample Files")
viewer.view(view_options)
- module
groupdocs.viewer.options
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.