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

Author-it Development Documentation

Get content of a file object for the supplied output type, 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 resized content.

Addresses

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

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