Platforms to show: All Mac Windows Linux Cross-Platform
Twain
Twain classes for scanning.
- Classes
- class TwainIdentityMBS
- method Constructor
- property Id as Integer
- property Manufacturer as String
- property ProductFamily as String
- property ProductName as String
- property ProtocolMajor as Integer
- property ProtocolMinor as Integer
- property SupportedGroups as Integer
- property Version as TwainVersionMBS
- class TwainImageInfoMBS
- method BitsPerSample(index as Integer) as Integer
- method Constructor
- property BitsPerPixel as Integer
- property Compression as Integer
- property ImageLength as Integer
- property ImageWidth as Integer
- property PixelType as Integer
- property Planar as Boolean
- property RowBytes as Integer
- property SamplesPerPixel as Integer
- property XResolution as Double
- property YResolution as Double
- class TwainImageLayoutMBS
- method Constructor
- property Bottom as Double
- property DocumentNumber as Integer
- property FrameNumber as Integer
- property Height as Double
- property Left as Double
- property PageNumber as Integer
- property Right as Double
- property Top as Double
- property Width as Double
- class TwainMBS
- method Acquire(modal as boolean = false, showUI as boolean = true) as picture
- method AllDevices as TwainIdentityMBS()
- method AppIdentity as TwainIdentityMBS
- method CanBW as boolean
- method CanGray as boolean
- method CanPalette as boolean
- method CanRGB as boolean
- method CloseDS
- method CloseDSM
- method Constructor(Country as Integer, Language as Integer)
- method DisableDS
- method DontUnload
- method DSIdentity as TwainIdentityMBS
- method GetEnumerationCapability(ID as Integer, byref ItemType as Integer, byref Count as Integer, byref CurrentIndex as Integer, byref DefaultIndex as Integer) as Integer()
- method GetIntegerCapability(ID as Integer, byref Type as Integer) as Integer
- method ImageInfo as TwainImageInfoMBS
- method IsDSEnabled as boolean
- method OpenDS
- method OpenDSM
- method ProcessEvents
- method SelectDS
- method SelectDS(device as TwainIdentityMBS)
- method SetBoolCapability(ID as Integer, Value as Boolean)
- method SetFloatCapability(ID as Integer, Value as Double)
- method SetInt32Capability(ID as Integer, Value as Int32)
- method SetUInt16Capability(ID as Integer, Value as UInt16)
- method SupportsMemoryTransfer as boolean
- method TransferImage as picture
- property AutoFeed as Integer
- property AutomaticBorderDetection as Integer
- property AutomaticBrightness as Integer
- property AutomaticRotate as Integer
- property Brightness as Double
- property ConditionCode as Integer
- property Contrast as Double
- property DiscardBlankPages as Integer
- property Duplex as Integer
- property FeederEnabled as Integer
- property Gamma as Double
- property Highlight as Double
- property Lasterror as Integer
- property Orientation as Integer
- property Parent as Variant
- property PendingTransferCount as Integer
- property PixelType as Integer
- property ProvideSliceData as Boolean
- property ProvideSlicePicture as Boolean
- property ResX as Double
- property ResY as Double
- property Shadow as Double
- property DefaultDevice as TwainIdentityMBS
- property Imagelayout as TwainImageLayoutMBS
- event CloseRequest
- event TransferEnded(pic as picture, ImageInfo as TwainImageInfoMBS, sliced as boolean, layout as TwainImageLayoutMBS)
- event TransferProgress(percent as Double, dataRead as Int64, DataSize as Int64, ImageInfo as TwainImageInfoMBS, NewDataSize as Integer, NewData as Memoryblock, NewPicture as Picture, layout as TwainImageLayoutMBS, Columns as Integer, Rows as Integer, XOffset as Integer, YOffset as Integer)
- event TransferReady
- event TransferStarted(DataSize as Int64, ImageInfo as TwainImageInfoMBS, layout as TwainImageLayoutMBS) as boolean
- class TwainVersionMBS
- class TwainIdentityMBS
- Blog Entries
Release notes
- Version 22.0
- Changed window properties to variant, so you can use DesktopWindow there for WindowsShortCutMBS, WindowsPrintDialogMBS, WindowsPageSetupDialogMBS, WindowsICMSetupMBS, WindowsBlueToothSelectDeviceDialogMBS, TwainMBS, TaskDialogMBS, OpenDialogMBS, DirectShowVideoWindowMBS, WindowsStoreContextMBS, WindowsFileCopyMBS, WindowsFontDialogMBS, WindowsPreviewHandlerMBS, WindowsStoreContextMBS, ParentChromiumFrameMBS and ChromiumBrowserMBS classes.
The items on this page are in the following plugins: MBS Picture Plugin.