TWAIN ActiveX/Plug-in Windows/Mac HTTP Control/SDK

Picture Property

Description

Returns the Picture object of the image of a specified index in buffer. This is a runtime, read-only property.

Support information

ActiveX Edition Plug-in Edition Mac Edition
Since V1.0 N/A N/A

Data type

Picture

Syntax

ObjectName. Picture(Short sImageIndex)

Parameters

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

Remarks

The Picture property implements the IPictureDisp interface.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown. Check ErrorCode property and ErrorString property for error information.

Sample   

VB Sample:
Private Sub Twain_OnPostTransfer()
    Image1.Picture = Twain.Picture(0)        
End Sub




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