Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.9.21
|
Leadtools.Twain Namespace > TwainSession Class : Resolution Property |
public SizeF Resolution {get; set;}
'Declaration
Public Property Resolution As SizeF
'Usage
Dim instance As TwainSession Dim value As SizeF instance.Resolution = value value = instance.Resolution
Imports Leadtools Imports Leadtools.Twain Public Sub ResolutionExample(ByVal parent As IntPtr) Dim session As TwainSession = New TwainSession() session.Startup(parent, "manufacturer", "productFamily", "version", "application", TwainStartupFlags.None) Dim res As SizeF = session.Resolution res.Width = 300 res.Height = 300 session.Resolution = res session.Shutdown() End Sub
using Leadtools; using Leadtools.Twain; public void ResolutionExample(IntPtr parent) { TwainSession session = new TwainSession(); session.Startup(parent, "manufacturer", "productFamily", "version", "application", TwainStartupFlags.None); SizeF res = session.Resolution; res.Width = 300; res.Height = 300; session.Resolution = res; session.Shutdown(); }
TwainSession Class
TwainSession Members
Startup Method
Shutdown Method
Acquire Method
MaximumTransferCount Property
DuplexScanningMode Property
EnableDuplexScanning Property
AcquirePageOptions Property
ImageEffects Property
ImageBitsPerPixel Property
ImageUnit Property
ImageFrame Property
TransferOptions Property
IsTransferModeAvailable Method
Resolution Property
ShowProgressIndicator Method