Error processing SSI file
LEADTOOLS WCF (Leadtools.Services.Twain assembly)

Show in webframe

SetCapabilityValue Method (ITwainService)






The scanning session Id.
The capability values to set.
The type of data contained in the TwainOneValueCapability object.
The capability value
The user data.
Sets the value of the specified capability.
Syntax
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)]
[OperationContractAttribute(Name="SetCapabilityValue", Action="SetCapabilityValue")]
void SetCapabilityValue( 
   string id,
   TwainCapabilityType capabilityType,
   TwainItemType itemType,
   string value,
   object userData
)
'Declaration
 
<WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   IsBodyStyleSetExplicitly=True, 
   IsRequestFormatSetExplicitly=True, 
   IsResponseFormatSetExplicitly=True, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)>
<OperationContractAttribute(Name="SetCapabilityValue", Action="SetCapabilityValue")>
Sub SetCapabilityValue( _
   ByVal id As String, _
   ByVal capabilityType As TwainCapabilityType, _
   ByVal itemType As TwainItemType, _
   ByVal value As String, _
   ByVal userData As Object _
) 
'Usage
 
Dim instance As ITwainService
Dim id As String
Dim capabilityType As TwainCapabilityType
Dim itemType As TwainItemType
Dim value As String
Dim userData As Object
 
instance.SetCapabilityValue(id, capabilityType, itemType, value, userData)

            

            
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)]
[OperationContractAttribute(Name="SetCapabilityValue", Action="SetCapabilityValue")]
void SetCapabilityValue( 
   String^ id,
   TwainCapabilityType capabilityType,
   TwainItemType itemType,
   String^ value,
   Object^ userData
) 

Parameters

id
The scanning session Id.
capabilityType
The capability values to set.
itemType
The type of data contained in the TwainOneValueCapability object.
value
The capability value
userData
The user data.
Requirements

Target Platforms

See Also

Reference

ITwainService Interface
ITwainService Members

Error processing SSI file