Accusoft.TwainProSdk Namespace > TwainDevice Class : MaximumImages Property |
'Declaration <DefaultValueAttribute()> <DescriptionAttribute("Gets or sets the maximum number of images expected from a TWAIN Data Source that supports multiple image scanning.")> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <BrowsableAttribute(False)> Public Property MaximumImages As Integer
'Usage Dim instance As TwainDevice Dim value As Integer instance.MaximumImages = value value = instance.MaximumImages
[DefaultValue()] [Description("Gets or sets the maximum number of images expected from a TWAIN Data Source that supports multiple image scanning.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [Browsable(false)] public int MaximumImages {get; set;}
[DefaultValue()] [Description("Gets or sets the maximum number of images expected from a TWAIN Data Source that supports multiple image scanning.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [Browsable(false)] public: __property int get_MaximumImages(); public: __property void set_MaximumImages( int value );
[DefaultValue()] [Description("Gets or sets the maximum number of images expected from a TWAIN Data Source that supports multiple image scanning.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [Browsable(false)] public: property int MaximumImages { int get(); void set ( int value); }
The MaximumImages property is negotiated with the TWAIN Data Source during initialization (OpenSession) and should be set prior to invoking the OpenSession method.
This property is only used when the OpenSession method is invoked. To set the transfer count after calling OpenSession, use the CAP_XFERCOUNT capability.
A value of –1 indicates the application is willing to transfer multiple images.
A value of 1 indicates the application wishes to transfer only one image per session.
Default value: -1