Description This method is used to add a page to a fax object created with the CreateFaxObject method. Only as many pages can be added as the PAGENUM parameter of the fax object indicates. If you want to increase the number of pages above that limit, first use the SetFaxParam to increase the page number, then call SetFaxPage.
Usage [FAX].SetFaxPage FaxID PageNum Type ImageNum
Returns Zero on success or a negative error code if an error occurs.
Remarks FaxID Long The ID of a fax object.
PageNum Short The number of pages to sent. The number of the first page is 1, not 0.
Type Short Indicates what is the type of the image file
PAGE_FILE_BMP - The source image is a Windows bitmap file.
PAGE_FILE_PCX - The source image is a PCX file (requires BIPCX.DLL, licensed separately with the Image or Document Imaging SDK/ActiveX).
PAGE_FILE_DCX - The source image is a DCX file.
PAGE_FILE_TGA - The source image is a TGA file (requires BIPCX.DLL, licensed sperately with the Image or Document Imaging SDK/ActiveX).
PAGE_FILE_JPEG - The source image is a JPEG file.
PAGE_FILE_TIFF_NOCOMP - The source image is an uncompressed TIFF file.
PAGE_FILE_TIFF_PACKBITS - The source image is a TIFF file with packbits compression.
PAGE_FILE_TIFF_LZW - The source image is a TIFF file with LZW compression.
PAGE_FILE_TIFF_LZDIFF - The source image is a TIFF file with differential LZW compression.
PAGE_FILE_TIFF_G31DNOEOL - The source image is a TIFF file with Group 3 one-dimensional compression, without EOL characters.
PAGE_FILE_TIFF_G31D - The source image is a TIFF file with Group 3 one-dimensional compression.
PAGE_FILE_TIFF_G31D_REV - The source image is a TIFF file with Group 3 one-dimensional compression, with reverse bit order.
PAGE_FILE_TIFF_G32D - The source image is a TIFF file with Group 3 two-dimensional compression.
PAGE_FILE_TIFF_G4 - The source image is a TIFF file with Group 4 compression.
PAGE_FILE_DIRECT - The source image is a file containing raw CCITT compressed data.
PAGE_FILE_ASCII - The source file contains ASCII text. If the text is more then one page long, this method tries to set as many pages as the text fits on.
PAGE_FILE_UNKNOWN - The software will try to detect the type of the source image first. If it was successful, it will set the page according to the detected type.
PAGE_MEMDIB - The source is a device independent bitmap.
The handle of the DIB should be written to the hDIB property prior to calling this method.
ImageNum Short If the source file’s type is TIFF or DCX, there can be several images in the same file.
This parameter indicates which image is used in a multi-page TIFF or DCX file. The image numbering starts with a “1”.
See Also GetFaxPage method