For a list of all members of this type, see TwainDevice members.
Public Methods
| Name | Description |
| CloseSession | Disables and closes the current Data Source and Data Source Manager. For every OpenSession or OpenDataSourceManager method call you need to close the TwainPRO session with CloseSession. This method will also Cancel any pending image transfers if the Data Source was in the Image Transfer state. |
| DisplayUserInterface | Displays the User Interface. |
| Dispose | Disposes of unmanaged resources. |
| GetCapability | Overloaded. Returns a CapabilityContainer with information for the specified capability. |
| GetCapabilityConstantDescription | Returns a description of a constant for the current capability. This is a runtime, read-only property. |
| GetCustomDataSourceData | Gets custom data (current settings, e.g., DPI, paper size, color format) from the source to the application. The source settings will be returned in a format that is source dependent and not defined by TWAIN. |
| IsCapabilitySupported | Overloaded. Determines if the current capability is supported by the TWAIN device. |
| LoadSettings | Loads the scanner settings from file. |
| OpenDataSourceManager | Opens the Source Manager. Use this method only to set the Data Source without using the SelectSource method. |
| OpenSession | Opens the Data Source Manager and Data Source, placing TwainPRO into the Capability Negotiation state. |
| SaveSettings | Saves the scanner settings to file. |
| SelectSource | Displays the TWAIN Data Source Manager's Source Selection User Interface (UI) so the user can choose which Data Source is the current Source. |
| SetCapability | Sets a TWAIN capability using the specified values. |
| SetCustomDataSourceData | Sets custom data (current settings, e.g., DPI, paper size, color format) of the source from the application. The source settings are in a format that is source dependent and not defined by TWAIN. |
| StartSession | Enables the Current Data Source and places it into the Image Transfer state. Displays the Data Source User Interface if ShowUserInterface is True. This method will return when the user closes the UI if the ShowUserInterface property is True or after the image transfer if ShowUserInterface is False. |
Top
See Also