ID_IsAutoRotated function

Function that is called to determine if an image has been auto rotated.

Syntax

PLUGIN_API int __stdcall ID_IsAutoRotated
(
   ID_StateHdl hs
);

Parameters

hs

Type: ID_StateHdl

[in] Image state handle; hs is set by the host application to the same value that was passed to it by the plug-in during the relevant call to ID_OpenImage.

Return Value

Returns IDE_OK if the image is auto-rotated. Returns IDE_Error if it is not.

Remarks

This function should return IDE_Ok if the plug-in has rotated the image, or IDE_Error if the plug-in has not rotated the image.

Requirements

Header: ID_PlugIn.h

See also: