C#
VB
C++
Sets the value of the specified capability.
[WebInvokeAttribute(BodyStyle=2,Method="POST",RequestFormat=1,ResponseFormat=1)][OperationContractAttribute(Name="SetCapabilityValue",Action="SetCapabilityValue",AsyncPattern=false,IsOneWay=false,IsInitiating=true,IsTerminating=false)]public void SetCapabilityValue(string id,TwainCapabilityType capabilityType,TwainItemType itemType,string value,object userData)
<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 Leadtools.Twain.TwainCapabilityType, _ByVal itemType As Leadtools.Twain.TwainItemType, _ByVal value As String, _ByVal userData As Object _)
[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,Leadtools.Twain.TwainCapabilityType capabilityType,Leadtools.Twain.TwainItemType itemType,String^ value,Object^ userData)
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
