API_TOOLS_DESKEW

This function will deskew the page.

API function name: api_home_deskew(pageNumber)
Parameters: pageNumber <int> [optional]
Return Type:

Promise

If the pageNumber is provided, then the PromiseResult will be true, if the operation was successful, otherwise false.

If the pageNumber is not provided, then the PromiseResult will return true, if the operation window has been shown to the user.

Programmer notes:

If any of the parameters are not specified, the IceViewer HTML5 will open the Deskew window.

NOTE: If the document has only one page, the IceViewer HTML5 will perform the operation on the page, even if parameters are not specified.

Code Example:

None