VintaSoft Twain .NET SDK v10.2
GetSupportedDeviceCapabilities Method (IVintasoftTwainWcfService)




Vintasoft.Twain.Web.WcfServices Namespace > IVintasoftTwainWcfService Interface : GetSupportedDeviceCapabilities Method
The parameters, which are necessary for getting information about all capabilities supported by TWAIN device.
Returns information about all capabilities supported by TWAIN device.
Syntax
'Declaration
 
<OperationContractAttribute(Name="GetSupportedDeviceCapabilities", Action="GetSupportedDeviceCapabilities")>
<WebInvokeAttribute(IsBodyStyleSetExplicitly=True, 
   IsRequestFormatSetExplicitly=True, 
   IsResponseFormatSetExplicitly=True, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)>
Function GetSupportedDeviceCapabilities( _
   ByVal requestParams As GetSupportedDeviceCapabilitiesRequestParams _
) As GetDeviceCapabilitiesResponseParams
'Usage
 
Dim instance As IVintasoftTwainWcfService
Dim requestParams As GetSupportedDeviceCapabilitiesRequestParams
Dim value As GetDeviceCapabilitiesResponseParams
 
value = instance.GetSupportedDeviceCapabilities(requestParams)
[OperationContract(Name="GetSupportedDeviceCapabilities", Action="GetSupportedDeviceCapabilities")]
[WebInvoke(IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)]
GetDeviceCapabilitiesResponseParams GetSupportedDeviceCapabilities( 
   GetSupportedDeviceCapabilitiesRequestParams requestParams
)
[OperationContract(Name="GetSupportedDeviceCapabilities", Action="GetSupportedDeviceCapabilities")]
[WebInvoke(IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)]
GetDeviceCapabilitiesResponseParams* GetSupportedDeviceCapabilities( 
   GetSupportedDeviceCapabilitiesRequestParams* requestParams
) 
[OperationContract(Name="GetSupportedDeviceCapabilities", Action="GetSupportedDeviceCapabilities")]
[WebInvoke(IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)]
GetDeviceCapabilitiesResponseParams^ GetSupportedDeviceCapabilities( 
   GetSupportedDeviceCapabilitiesRequestParams^ requestParams
) 

Parameters

requestParams
The parameters, which are necessary for getting information about all capabilities supported by TWAIN device.

Return Value

Information about values of all capabilities supported by TWAIN device.
Exceptions
ExceptionDescription
Thrown if TWAIN session is wrong OR device manager is not opened.
Requirements

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

IVintasoftTwainWcfService Interface
IVintasoftTwainWcfService Members