'Declaration
Public Overloads Function TiffSaveAsMultiPageFile( _ ByVal ImageID As Integer, _ ByVal Stream As Stream, _ ByVal Compression As TiffCompression _ ) As GdPictureStatus
public GdPictureStatus TiffSaveAsMultiPageFile( int ImageID, Stream Stream, TiffCompression Compression )
public function TiffSaveAsMultiPageFile( ImageID: Integer; Stream: Stream; Compression: TiffCompression ): GdPictureStatus;
public function TiffSaveAsMultiPageFile( ImageID : int, Stream : Stream, Compression : TiffCompression ) : GdPictureStatus;
public: GdPictureStatus TiffSaveAsMultiPageFile( int ImageID, Stream* Stream, TiffCompression Compression )
public: GdPictureStatus TiffSaveAsMultiPageFile( int ImageID, Stream^ Stream, TiffCompression Compression )
Parameters
- ImageID
- A unique image identifier of the GdPicture image representing the first page of the resulting multipage TIFF image file. Do not release this image resource before closing the resulting multipage TIFF image file using the TiffCloseMultiPageFile method.
Please follow the attached example on how to properly use the method.
- Stream
- A Stream object where the newly created multipage TIFF image file will be stored. This Stream object must be initialized before it can be sent into this method and it should remain open for subsequent use.
- Compression
- A member of the TiffCompression enumeration. The resulting TIFF compression scheme to be used.
Please note that if you apply the JPEG compression, the quality factor used by default is 90. You can use the overloaded TiffSaveAsMultiPageFile(Int32,Stream,TiffCompression,Int32) method to set your preferred value for the JpegQuality parameter.