RasterFrame_GetOrientation¶
Return the orientation of a raster frame.
RasterFrame_GetOrientation(imgDocRef{; frameIdx}) ➔ orientation
imgDocRef | Text | The raster document reference. |
frameIdx | Longint | The index of the raster frame. |
orientation | Longint | The raster frame’s orientation. |
Return the orientation of the raster frame specified by imgDocRef
and frameIdx
Parameter imgDocRef
is the raster document reference. If imgDocRef
refers
to a PDF document, 0
is returned.
Parameter frameIdx
is the index of the image frame. Passing 0
or omitting this
parameter is the same as passing 1.
The raster frame’s orientation is returned in orientation
, and its value is one
of the Image Orientation constants.