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 IWin32Window) 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(IWin32Window 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