The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Get List of Links to Document Pages as Image
You can retrieve list of links to document pages as images. The API returns an object which contains list of links to document pages as images or ZIP archive with actual pages as image when “application/zip” accept header specified.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Download ZIP Archive with Document Pages as HTML
GroupDocs.Viewer Cloud can retrieve ZIP archive of Document pages as HTML. API returns ZIP archive with pages as HTML. Please check ZIP File Structurecommon-resources/zip-file-structure/) for more details.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Download ZIP Archive with Document Pages as Image
GroupDocs.Viewer Cloud can retrieve ZIP archive of Document pages as Image. The API returns ZIP archive with pages as Image. Please check ZIP File Structurecommon-resources/zip-file-structure/) for more details.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Get List of Links to Document Pages from provided URL as HTML
You can retrieve list of links to document pages of document at provided URL. The API returns an object that contains list of links to document pages as HTML.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Get List of Links to Document Pages from provided URL as Image
You can retrieve list of links to document pages of document at provided URL. The API returns an object that contains list of links to document pages as Image.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Download Document Page as HTML
You can download the document page as HTML. The API returns the actual data of document page as HTML.
curl -v "https://api.groupdocs.cloud/v1.0/viewer/sample-one-page.docx/html/pages/1?ignoreResourcePathInResources#true&embedResources#true&renderComments#false&renderHiddenPages#true&appsid#XXXX&signature#XXX-XX"-H "Content-Type: application/json"-X GET -d "{}"
Contents of page as HTML
SDK examples
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Download Document Page as HTML
Download Document Page as Image
You can download the document page as Image. The API returns the actual data of document page as Image.
curl -v "https://api.groupdocs.cloud/v1.0/viewer/sample-one-page.docx/image/pages/1?extractText#true&renderComments#false&renderHiddenPages#true&appsid#XXXX&signature#XXX-XX"-H "Content-Type: application/json"-X GET -d "{}"
Contents of page as Image
SDK examples
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Create Document Cache as HTML
You can create the document pages as HTML and save them in cache. The API returns object which contains list of links to document pages along with ‘201 Created’ status and if pages already created will be removed from cache.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Create Document Cache as Image
You can create the document pages as Images and save them in cache. The API returns object which contains list of links to document pages along with ‘201 Created’ status and if pages already created will be removed from cache.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Rendering MS Project Document Pages as HTML
Starting from GroupDocs.Viewer Cloud 18.2 two new options have been added which allows to adjust Page Size and Time Unit when rendering MS Project documents. By default GroupDocs.Viewer API tries to find optimal output size and time unit, depending on the projects overall length, depending on the projects overall length. In case you need to set your own page size or time unit, you can specify ProjectOptions which provides two options PageSize and TimeUnit. Time unit refers to smallest unit (days, third of a month or month) used in timescale bar, when the TimeUnit “Days” is set you will get the most detailed view of your tasks and opposite, when TimeUnit “Month” is set you will get more general representation of tasks. This example demonstrates how to create pages cache as HTML with provided ProjectOptions.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Rendering MS Project Document Pages as Image
Starting from GroupDocs.Viewer Cloud 18.2 two new options have been added which allows to adjust Page Size and Time Unit when rendering MS Project documents. By default GroupDocs.Viewer API tries to find optimal output size and time unit, depending on the projects overall length, depending on the projects overall length. In case you need to set your own page size or time unit, you can specify ProjectOptions which provides two options PageSize and TimeUnit. Time unit refers to smallest unit (days, third of a month or month) used in timescale bar, when the TimeUnit “Days” is set you will get the most detailed view of your tasks and opposite, when TimeUnit “Month” is set you will get more general representation of tasks. This example demonstrates how to create pages cache as Image with provided ProjectOptions.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Create Document Cache as HTML from Document in Request Body
You can create the document pages as HTML from document in request body and saves them in cache. The API returns object which contains list of links to document pages along with ‘201 Created’ status and if pages already created will be removed from cache.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Create Document Cache as Image from Document in Request Body
You can create the document pages as Image from document in request body and saves them in cache. The API returns object which contains list of links to document pages along with ‘201 Created’ status and if pages already created will be removed from cache.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Create Document Cache for Document URL with HtmlOptions as HTML
You can create the document pages as HTML and saves them in cache with HtmlOptions. The API returns object which contains list of links to document pages along with ‘201 Created’ status and if file name already exist then unique file name will be will be used for file.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Create Document Cache for Document URL with ImageOptions as Image
You can create the document pages as Image and saves them in cache with ImageOptions. The API returns object which contains list of links to document pages or ZIP archive with actual pages as image when “application/zip” accept header specified along with ‘201 Created’ status and if file name already exist then unique file name will be will be used for file.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Rotate Document Pages for HTML Representation
GroupDocs.Viewer Cloud can rotate document page for HTML Representation. The API returns object with updated list of pages upon success. Please check RotateOptions Objectcommon-resources/options-objects/#HRotateOptionsObject) for request parameter.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Rotate Document Pages for Image Representation
GroupDocs.Viewer Cloud can rotate document page for Image Representation. The API returns object with updated list of pages upon success. Please check RotateOptions Objectcommon-resources/options-objects/#HRotateOptionsObject) for request body parameter.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Reorder Document Pages for HTML Representation
GroupDocs.Viewer Cloud can reorder document pages for HTML Representation. The API returns object with updated list of pages upon success. Please check ReorderOptions Objectcommon-resources/options-objects/) for request parameter.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Reorder Document Pages for Image Representation
GroupDocs.Viewer Cloud can reorder document page for Image Representation. The API returns object with updated list of pages upon success. Please check ReorderOptions Objectcommon-resources/options-objects/) for request body parameter.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Remove Document Cache for HTML Pages
You can remove the document HTML pages cache. The API returns an empty response with ‘204 No Content’ status will be returned to confirm deletion.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Remove Document Cache for Page Images
You can remove the document page images cache. The API returns an empty response with ‘204 No Content’ status will be returned to confirm deletion.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Specify Image Quality when Rendering PDF Documents as HTML
You can set image quality of PDF document when rendering as HTML. The API returns an object which contains list of links to document pages.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Exclude fonts when rendering as HTML
You can prevent adding fonts in resultant document when rendering as HTML, to decrease the file size. The API returns an object which contains list of links to document pages.
Note
ExcludeFontsList option allows to exclude specific fonts (that are commonly available on most of the devices). The example below shows how to prevent adding fonts into output HTML. Currently, it works only for Presentation documents. We are planning to extend support for this feature for all document types where it is applicable in the upcoming releases.–data ‘{“embedResources”: true, “excludeFontsList”: [“Arial”]}’
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Auto Fit column width rendering document as HTML
You can set property to auto fit column with depending upon content when rendering document as Html. The API returns an object which contains list of links to document pages.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Rendering only Print Area in Excel document as HTML
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Include/exclude hidden content in Excel documents as HTML
You can set property to include/exclude hidden content when rendering MS Excel document as Html. The API returns an object which contains list of links to document pages.
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
Rendering PDF Documents into HTML with Setting (Default Font)
Since the version 18.7, it is possible to set default font when rendering PDF document into HTML. This setting may be useful when you would like to specify which font should be used in case PDF document missing some font(s)
# Set default font name when rendering PDF document as HTMLcurl request POST \
url http://api.groupdocs.cloud/v1/viewer/missing-font.pdf/html/pages \
header 'authorization: [Access Token]'\
header 'content-type: application/json'\
data '{"defaultFontName": "Arial"}'# Retrieve created pagecurl request GET \
--url http://api.groupdocs.cloud/v1/viewer/missing-font.pdf/html/pages/1 \
--header 'authorization: [Access Token]'
The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
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.