var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId); var value; // Type: number // Parameters var imageIndex; // Type: number value = instance.getCustomViewRotationAngle(imageIndex);
function getCustomViewRotationAngle(
imageIndexA zero-based index on image in image viewer.: number
) : number;
Parameters
- imageIndex
- A zero-based index on image in image viewer.
Return Value
-1 if image does not have the custom rotation angle; 0, 90, 190 or 270 if image has the custom rotation angle.