Example-VB | Example-VC++ |
Appends one or more pages to the current image.
Ö | Imaging for Windows Professional Edition V1.0, V1.1, and V2.0 |
Ö | Imaging for Windows 95 and 98 |
Ö | Imaging for Windows NT 4.0 |
Image Admin control
object.Append Source,SourcePage,NumPages [,CompressionType, CompressionInfo]
Parameter | Data Type | Description |
Source | String | Specifies the image file that contains the page(s) to be appended. The file can reside on a local or redirected drive (desktop) 1.x server 3.x server |
SourcePage | Long | Specifies the first page in the source image file to be appended |
NumPages | Long | Specifies the number of pages from the source image file to append to the current image file |
CompressionType | Integer | (Optional) Specifies the compression type to apply to the appended pages. If a type is not specified, the compression type of the source page(s) is used. |
CompressionInfo | Long | (Optional) Specifies which compression options to apply to the appended pages. If options are not specified, the compression options of the source page(s) are used. |
The current image file is specified by the Image property. If an image does not exist, one will be created.
The current image, if one exists, must be in TIFF or AWD format, as they support multiple pages. If the image pages added are of another type, they will be converted to the file type format used by the current image.
You can append a single BMP file to a new file. If you do, the only compression type allowed is None, with no options.
If the CompressionType and CompressionInfo values specified are not compatible with a source page’s page type (color), the source file’s compression type and compression information are used in place of those arguments.
If JPEG compression type is specified, and the compression argument is 0 (zero), a default JPEG value is used. The default value is 4096 (low compression, high quality).