'Declaration
Public Overloads Function TiffExtractPage( _ ByVal ImageID As Integer, _ ByVal Page As Integer, _ ByVal Stream As Stream, _ Optional ByVal Compression As TiffCompression _ ) As GdPictureStatus
public GdPictureStatus TiffExtractPage( int ImageID, int Page, Stream Stream, TiffCompression Compression )
public function TiffExtractPage( ImageID: Integer; Page: Integer; Stream: Stream; Compression: TiffCompression ): GdPictureStatus;
public function TiffExtractPage( ImageID : int, Page : int, Stream : Stream, Compression : TiffCompression ) : GdPictureStatus;
public: GdPictureStatus TiffExtractPage( int ImageID, int Page, Stream* Stream, TiffCompression Compression )
public: GdPictureStatus TiffExtractPage( int ImageID, int Page, Stream^ Stream, TiffCompression Compression )
Parameters
- ImageID
- A unique image identifier of the GdPicture image representing the multipage TIFF image.
- Page
- The page number of a page you want to extract. It must be a value from 1 to GdPictureImaging.TiffGetPageCount.
- Stream
- A Stream object where the TIFF image of the extracted page will be saved to. This Stream object must be initialized before it can be sent into this method and it should remain open for subsequent use.
- Compression
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.