'Declaration
Public Overloads Function AppendToTiff( _ ByVal ImageID As Integer, _ ByVal FilePath As String, _ ByVal Compression As TiffCompression _ ) As GdPictureStatus
public GdPictureStatus AppendToTiff( int ImageID, string FilePath, TiffCompression Compression )
public function AppendToTiff( ImageID: Integer; FilePath: String; Compression: TiffCompression ): GdPictureStatus;
public function AppendToTiff( ImageID : int, FilePath : String, Compression : TiffCompression ) : GdPictureStatus;
public: GdPictureStatus AppendToTiff( int ImageID, string* FilePath, TiffCompression Compression )
public: GdPictureStatus AppendToTiff( int ImageID, String^ FilePath, TiffCompression Compression )
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.
- FilePath
- The file path of the destination TIFF file, where the specified image will be appended. If this file does not exist, it will be created.
- 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 AppendToTiff(Int32,String,TiffCompression,Int32) method to set your preferred value for the JpegQuality parameter.
Return Value
We strongly recommend always checking this status first.