'Declaration
Public Overloads Function TiffAddToMultiPageFile( _ ByVal TiffImageID As Integer, _ ByVal ImageID As Integer, _ ByVal Compression As TiffCompression, _ ByVal JpegQuality As Integer _ ) As GdPictureStatus
public GdPictureStatus TiffAddToMultiPageFile( int TiffImageID, int ImageID, TiffCompression Compression, int JpegQuality )
public function TiffAddToMultiPageFile( TiffImageID: Integer; ImageID: Integer; Compression: TiffCompression; JpegQuality: Integer ): GdPictureStatus;
public function TiffAddToMultiPageFile( TiffImageID : int, ImageID : int, Compression : TiffCompression, JpegQuality : int ) : GdPictureStatus;
public: GdPictureStatus TiffAddToMultiPageFile( int TiffImageID, int ImageID, TiffCompression Compression, int JpegQuality )
public: GdPictureStatus TiffAddToMultiPageFile( int TiffImageID, int ImageID, TiffCompression Compression, int JpegQuality )
Parameters
- TiffImageID
- A unique image identifier of the GdPicture image representing the resulting multipage TIFF image file, that has been previously initialized using one of the TiffSaveAsMultiPageFile() methods. It is the first image resource of the resulting multipage TIFF image file.
Please follow the attached example on how to properly use the method.
- ImageID
- A unique image identifier of the GdPicture image representing the image, which will be added to the resulting multipage TIFF image file. You can release this image resource using the GdPictureImaging.ReleaseGdPictureImage method after adding it to the resulting file.
- Compression
- JpegQuality
- The compression quality level from 0 to 100. 0 means the worst quality and the best compression, 100 means the best quality and the worst compression. This parameter is ignored when the required compression scheme is different than JPEG.
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.