'Declaration
Public Overloads Function IsPageImage( _ ByRef ImageID As Integer, _ ByVal AutoRotate As Boolean _ ) As Boolean
public bool IsPageImage( ref int ImageID, bool AutoRotate )
public function IsPageImage( var ImageID: Integer; AutoRotate: Boolean ): Boolean;
public function IsPageImage( ImageID : int, AutoRotate : boolean ) : boolean;
public: bool IsPageImage( ref int ImageID, bool AutoRotate )
public: bool IsPageImage( int% ImageID, bool AutoRotate )
Parameters
- ImageID
- Output parameter. If the currently selected page is an image-based page as defined above, this parameter returns a unique image identifier of the newly created GdPictureImage object corresponding to the embedded image. If the page is not image-based, this parameter returns 0.
Be aware that you need to release the successfully created image after being used, for the suitable method please refer to the Remarks section below.
- AutoRotate
- Set this parameter to true if you want to automatically rotate the created image representing by the GdPictureImage object to get the same rendering orientation (for display or print) as is the viewing mode of the current page. Otherwise set it to false.
You can use the GdPicturePDF.GetPageRotation method to find out if the current page should be rotated when displayed or printed.