ClearImage .NET API
Append Method (ImageIO)





Inlite.ClearImageNet Namespace > ImageIO Class : Append Method
Bitmap object
Name of the file
Append Bitmap to a TIFF or PDF file.
Syntax
'Declaration
 
Public Sub Append( _
   ByVal bmp As System.Drawing.Bitmap, _
   ByVal fileName As System.String _
) 
'Usage
 
Dim instance As ImageIO
Dim bmp As System.Drawing.Bitmap
Dim fileName As System.String
 
instance.Append(bmp, fileName)
public void Append( 
   System.Drawing.Bitmap bmp,
   System.string fileName
)
public procedure Append( 
    bmp: System.Drawing.Bitmap;
    fileName: System.String
); 
public function Append( 
   bmp : System.Drawing.Bitmap,
   fileName : System.String
);
public:
void Append( 
   System.Drawing.Bitmap^ bmp,
   System.String^ fileName
) 

Parameters

bmp
Bitmap object
fileName
Name of the file
Remarks

 

Appends a Bitmap image to a multi-page TIFF or PDF file.  If file does not exists, new file is created with format based on fielName extension.

The bitmap can be ImageEditor.Bitmap, obtained using CiImage.GetBitmap or ImageIO.Open methods

To avoid memory leaks, when done with Bitmap object, dispose of it with Bitmap.Dispose method or use using statement.

Image compression is controlled by compressionBitonalEx and compressionColorEx properties.  jpegQuality property controls compression when IO.compressionColorEx=jpeg.

 

See Also

Reference

ImageIO Class
ImageIO Members