GroupDocs.Viewer for Python via .NET is a high-performance document rendering library that lets you view 170+ file formats — including DOCX, XLSX, PPTX, PDF, CAD drawings, emails, archives, and images — by rendering them to HTML, PDF, PNG, or JPG. No third-party software required.
Quick example
fromgroupdocs.viewerimportViewerfromgroupdocs.viewer.optionsimportHtmlViewOptions# Render a DOCX file to HTML with embedded resourceswithViewer("sample.docx")asviewer:viewer.view(HtmlViewOptions.for_embedded_resources("page_{0}.html"))
Features
170+ File Formats: Render Microsoft Office, PDF, HTML, CAD, email, archives, images, and more.
Multiple Output Formats: Render documents to HTML, PDF, PNG, and JPG.
Embedded or External Resources: Produce self-contained HTML pages or HTML with separate CSS, fonts, and images.
Format Detection: Automatically detects the format of input files.
Cross-Platform: Works on Windows, Linux, and macOS.
For practical code examples and explanations of basic and advanced rendering functions, see the Developer Guide section. This guide includes instructions on loading documents, retrieving document metadata, and performing document rendering.
Technical Support
If you experience any issues or have suggestions, please refer to the Technical Support topic. This topic provides multiple support channels tailored to your needs.
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.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.