'Declaration
Public Overloads Function AppendToTiff( _ ByVal ImageID As Integer, _ ByVal Stream As Stream, _ ByVal Compression As TiffCompression, _ Optional ByVal JpegQuality As Integer _ ) As GdPictureStatus
public GdPictureStatus AppendToTiff( int ImageID, Stream Stream, TiffCompression Compression, int JpegQuality )
public function AppendToTiff( ImageID: Integer; Stream: Stream; Compression: TiffCompression; JpegQuality: Integer ): GdPictureStatus;
public function AppendToTiff( ImageID : int, Stream : Stream, Compression : TiffCompression, JpegQuality : int ) : GdPictureStatus;
public: GdPictureStatus AppendToTiff( int ImageID, Stream* Stream, TiffCompression Compression, int JpegQuality )
public: GdPictureStatus AppendToTiff( int ImageID, Stream^ Stream, TiffCompression Compression, int JpegQuality )
Parameters
- ImageID
- A unique image identifier of the GdPicture image representing the single image, that you want to append as a new page at the end of the destination TIFF file.
- Stream
- A Stream object containing the destination TIFF file. 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.
- JpegQuality
- Specifies the JPEG compression quality, between 1 (worst quality) and 100 (better quality). This parameter is ignored when the specified TIFF 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.