var instance = new Vintasoft.Imaging.UI.WebThumbnailViewerJS(controlId); var value; // Type: number // Parameters var imageIndex; // Type: number value = instance.getCustomViewRotationAngle(imageIndex);
function getCustomViewRotationAngle(
imageIndexA zero-based index on image in thumbnail viewer.: number
) : number;
Parameters
- imageIndex
- A zero-based index on image in thumbnail 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.