Javascript: SignatureImage.getExportMaxResolution Method
Description
Gets an images's vertical scaling factor in percent.
Syntax
<void> SignatureImage.getExportMaxResolution(<RequestNumberCallback> callback, [<ErrorCallback> errorCallback])Parameters
| Parameter | Description |
|---|---|
| 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
);
}