Dynamic Web TWAIN  - TWAIN ActiveX/Plug-in, Scanner COM Control
TWAIN ActiveX/Plug-in HTTP Control/SDK

GetImageSize Method

Description

Returns the file size of the new image resized from the image of a specified index in buffer.

Syntax

Double ObjectName. GetImageSize(Short sImageIndex, Long lWidth, Long lHeight)

Parameters

Short sImageIndex: specifies the index of image in buffer. The index is 0-based. 

Long lWidth: specifies the pixel width of the new image.

Long lHeight: specifies the pixel height of the new image.

Return value

Double.

-1 indicates failure. Other values indicate success.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown.

When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.

Remarks

None.

See Also

RotateLeft(), RotateRight(), Flip(), Mirror(), Crop(), CropToClipboard(), ChangeImageSize(), ShowImageEditor(),
ImageEditorWindowTitle property, ImageEditorIfReadonly property, ImageEditorIfEnableEnumerator property

 

 

 

 

 













TWAIN ActiveX | TWAIN Plug-in | TWAIN Control | TWAIN SDK | Scanner COM
Software Configuration Management | Version Control | Source Control
Copyright © 2011 Dynamsoft Corporation. All Rights Reserved.