TiffSaveAsNativeMultiPage Method

See Also     Examples     Applies To

Stores the native GdPicture image as first page of a new multipage TIFF file.

Syntax

object.TiffSaveAsNativeMultiPage (sFilePath, nModeCompression)

The TiffSaveAsNativeMultiPage syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
sFilePath Required. String. The new native multipage file full path.
nModeCompression Optional. Long. Default value is 2. Specifies the type of compression 6:None, 5:RLE, 4:CCITT4, 3:CCITT3, 2:LZW.

Returns

Long. GdPictureStatus

Remarks

If success, the native image will be considered too as native multipage tiff image. Therefore, the native image should now be deleted using the TiffCloseNativeMultiPage() function.

Category

Multipage TIFF Functions

Visual Basic Sample

Create multipage tif image from 3 consecutive image acquisition


Dim nImageID As Long

Call object.TwainAcquireToGdPictureImage
object.TiffSaveAsNativeMultiPage ("multipage.tif")

nImageID = object.TwainAcquireToGdPictureImage
object.TiffAddToNativeMultipage (nImageID)
object.CloseImage (nImageID)

nImageID = object.TwainAcquireToGdPictureImage
object.TiffAddToNativeMultipage (nImageID)
object.CloseImage (nImageID)

object.TiffCloseNativeMultiPage






© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.