Leadtools.Twain Namespace > TwainSession Class : AcquirePage Event |
public event EventHandler<TwainAcquirePageEventArgs> AcquirePage
'Declaration Public Event AcquirePage As EventHandler(Of TwainAcquirePageEventArgs)
'Usage Dim instance As TwainSession Dim handler As EventHandler(Of TwainAcquirePageEventArgs) AddHandler instance.AcquirePage, handler
public event EventHandler<TwainAcquirePageEventArgs> AcquirePage
add_AcquirePage(function(sender, e)) remove_AcquirePage(function(sender, e))
public: event EventHandler<TwainAcquirePageEventArgs^>^ AcquirePage
The event handler receives an argument of type TwainAcquirePageEventArgs containing data related to this event. The following TwainAcquirePageEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Set to true to abort the acquire operation. |
Image | Gets the IRasterImage which holds the image data acquired from the TWAIN Data Source. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2