Accusoft.TwainPro9.Net
TransferMode Property




Gets or sets the transfer mode for scanning.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<BrowsableAttribute(False)>
<DescriptionAttribute("Gets or sets the transfer mode for scanning.")>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
Public Property TransferMode As TransferMode
'Usage
 
Dim instance As TwainDevice
Dim value As TransferMode
 
instance.TransferMode = value
 
value = instance.TransferMode
[DefaultValue()]
[Browsable(false)]
[Description("Gets or sets the transfer mode for scanning.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public TransferMode TransferMode {get; set;}
[DefaultValue()]
[Browsable(false)]
[Description("Gets or sets the transfer mode for scanning.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public: __property TransferMode get_TransferMode();
public: __property void set_TransferMode( 
   TransferMode value
);
[DefaultValue()]
[Browsable(false)]
[Description("Gets or sets the transfer mode for scanning.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public:
property TransferMode TransferMode {
   TransferMode get();
   void set (    TransferMode value);
}
Remarks

The TransferMode property is used to set or obtain the current method of transferring images from the Data Source. The TransferMode should be set to the value desired prior to a call to the OpenSession or StartSession methods. The default TransferMode of the TwainPRO control is the Native transfer mode. TransferMode is available at runtime only.

NOTE: Transferring of compressed data directly from a Data Source requires that buffered memory mode, TWSX_MEMORY, be used.

Default value: TwsxNative

See Also

Reference

TwainDevice Class
TwainDevice Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback