TX Text Control Blog

Render document pages as images using the ReportingCloud REST Web API

Björn Meyer

Blogged by Björn Meyer on August 4, 2016 and tagged with reportingcloud, reporting, cloud, web api.

ReportingCloud is a Web API powered reporting platform to create MS Word compatible reports in the cloud using a REST web service.

The Web API also supports rendering document pages to a variety of image formats such as PNG, JPG, BMP and GIF with the highest available accuracy and quality.

Besides powerful reporting and conversion processes, the API method /v1/templates/thumbnails creates and returns images of document pages. It can be used for templates and resulting documents. If a document has been created using /v1/document/merge or /v1/document/convert, you can upload the document to your template storage in order to create the images using /v1/templates/thumbnails.

The following query parameters are available to specify the zoom factor, the format and to define the page range the images should be created for:

Query parameterValue TypeValue
templateNameStringThe filename of the template in the template storage.
zoomFactorIntegerAn Integer value between 1 and 400 to set the percentage zoom factor of the created thumbnail images.
fromPageIntegerAn Integer value that specifies the first page.
toPageIntegerAn Integer value that specifies the last page.
imageFormatStringA string value that defines the image format of the returned thumbnails. Possible values are PNG, JPG, GIF and BMP.

The following sample code shows how to create images using the ReportingCloud .NET wrapper:

Start today with ReportingCloud and sign up for a free trial account.

Call us: +1 704-544-7445 (United States)





Buy Now

About Text Control

Founded in 1991, Text Control is an award-winning Visual Studio Industry Partner and leading vendor of word processing and reporting components for Microsoft development technologies. The products help thousands of developers add comprehensive word processing functionality to their applications. Text Control is 100% self-owned and independent of all investor decisions. Customers benefit from these years of experience, large user-base, and at the same time, appreciate developing with a mature, reliable product.

SD Times 100SD Times 100SD Times 100SD Times 100SD Times 100SD Times 100Visual Studio 2015 Launch PartnerVisual Studio 2013 Launch PartnerVisual Studio 2012 Launch PartnerVisual Studio Partner