GetConvertedContentResized(Integer, OutputType, Integer, Integer) Method - Author-it On-Premises - Author-it

Author-it Development Documentation

Get content of a file object, converted to file format of the supplied output type and resized to supplied dimensions.

Parameters

Name

Type

Description

fileId

Integer

ID of file object to get.

output

OutputType

Output type to get.

width

Integer

Width (in pixels) to resize to.

height

Integer

Height (in pixels) to resize to.

Returns

Type: Byte Array

Bytes representing converted and resized content.

Addresses

JSON: http://<Base Address>/File/json/GetConvertedContentResized

JSON (for IIS): http://<Base Address>/File.svc/json/GetConvertedContentResized