GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / TiffMovePage Method
A unique image identifier of the GdPicture image representing the editable multipage TIFF image.
The page number of a required page you want to move. It must be a value from 1 to GdPictureImaging.TiffGetPageCount.
The page number of a destination page. It must be a value from 1 to GdPictureImaging.GetPageCount.





In This Topic
TiffMovePage Method (GdPictureImaging)
In This Topic
Moves a specified page to a destination page in an editable multipage TIFF image, that is represented by its unique image identifier.

This method only handles editable multipage TIFF images; otherwise it will fail.

Syntax
'Declaration
 
Public Function TiffMovePage( _
   ByVal ImageID As Integer, _
   ByVal PageNo As Integer, _
   ByVal Destination As Integer _
) As GdPictureStatus
public GdPictureStatus TiffMovePage( 
   int ImageID,
   int PageNo,
   int Destination
)
public function TiffMovePage( 
    ImageID: Integer;
    PageNo: Integer;
    Destination: Integer
): GdPictureStatus; 
public function TiffMovePage( 
   ImageID : int,
   PageNo : int,
   Destination : int
) : GdPictureStatus;
public: GdPictureStatus TiffMovePage( 
   int ImageID,
   int PageNo,
   int Destination
) 
public:
GdPictureStatus TiffMovePage( 
   int ImageID,
   int PageNo,
   int Destination
) 

Parameters

ImageID
A unique image identifier of the GdPicture image representing the editable multipage TIFF image.
PageNo
The page number of a required page you want to move. It must be a value from 1 to GdPictureImaging.TiffGetPageCount.
Destination
The page number of a destination page. It must be a value from 1 to GdPictureImaging.GetPageCount.

Return Value

A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK. We strongly recommend always checking this status first.
Remarks
Be aware that this method only handles an editable multipage TIFF images. You can use the GdPictureImaging.TiffIsEditableMultiPage method to check if a required image is an editable multipage TIFF image.

Likewise, for saving the provided modifications you need to use the GdPictureImaging.TiffSaveMultiPageToFile method.

This method requires the Image Documents component to run.

See Also