ImageGear for Silverlight
GetCapability(ImGearCapabilities,ImGearMessages) Method
See Also  Send Feedback
ImageGear20.TWAIN Assembly > ImageGear.TWAIN Namespace > ImGearTWAIN Class : GetCapability(ImGearCapabilities,ImGearMessages) Method




id
ID of the capability to get information about.
message
Can be on of the following values:ImGearMessages.GET - Get one or more capability values.ImGearMessages.GETCURRENT - Get current capability value.ImGearMessages.GETDEFAULT - Get default (e.g. power up) capability value.

Glossary Item Box

This method gets the value of a capability.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

id
ID of the capability to get information about.
message
Can be on of the following values:ImGearMessages.GET - Get one or more capability values.ImGearMessages.GETCURRENT - Get current capability value.ImGearMessages.GETDEFAULT - Get default (e.g. power up) capability value.

Return Value

One of the capability objects containing information about the requested capability.

Exceptions

ExceptionDescription
ImageGear.Core.ImGearExceptionThrown if:
  • there is not an open session with a data source.
  • the value of message is ImGearMessages.Set.
  • the capability is unsupported by the Data Source.

Remarks

Use OpenSource to select the desired Data Source, prior to calling this method.

See Also

©2013. Accusoft Corporation. All Rights Reserved.