DS Server

Javascript: SignatureImage.getExportMaxResolution Method

Method|Introduced in 31.0

Description

Gets an images's vertical scaling factor in percent.

Syntax

<void> SignatureImage.getExportMaxResolution(<RequestNumberCallback> callback, [<ErrorCallback> errorCallback])

Parameters

ParameterDescription
callback

Receives the current property value.

errorCallback

Optional. Is called when the operation failed with an error.

Examples

The following example demonstrates SignatureImage.getExportMaxResolution in a practical document-editing workflow. It gets an images's vertical scaling factor in percent.

function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

function inspectExportMaxResolution(signatureImage) {
    signatureImage.getExportMaxResolution(
        function(result) {
            console.log("get export max resolution result:", result);
        },
        onTxError
    );
}