Skip to main content

GetPageImage

Returns the page image.

Syntax

expression.GetPageImage(nPage, oParams);

expression - A variable that represents a Api class.

Parameters

NameRequired/OptionalData typeDefaultDescription
nPageRequirednumberThe page index.
oParamsOptionalobject{}The image parameters.
oParams.maxSizeOptionalnumberThe size of the larger image side in pixels.
oParams.annotationsOptionalbooleanfalseSpecifies whether the annotations will be rendered.
oParams.fieldsOptionalbooleanfalseSpecifies whether the fields will be rendered.
oParams.drawingsOptionalbooleanfalseSpecifies whether the drawings will be rendered.

Returns

canvas