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

Show in webframe

DeletePage Method (ITwainService)






The scanning session Id.
The 1-based page number.
The user data.
Deletes the specified page.
Syntax
[OperationContractAttribute(Name="DeletePage", Action="DeletePage")]
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)]
void DeletePage( 
   string id,
   int pageNumber,
   object userData
)
'Declaration
 
<OperationContractAttribute(Name="DeletePage", Action="DeletePage")>
<WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   IsBodyStyleSetExplicitly=True, 
   IsRequestFormatSetExplicitly=True, 
   IsResponseFormatSetExplicitly=True, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)>
Sub DeletePage( _
   ByVal id As String, _
   ByVal pageNumber As Integer, _
   ByVal userData As Object _
) 
'Usage
 
Dim instance As ITwainService
Dim id As String
Dim pageNumber As Integer
Dim userData As Object
 
instance.DeletePage(id, pageNumber, userData)

            

            
[OperationContractAttribute(Name="DeletePage", Action="DeletePage")]
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)]
void DeletePage( 
   String^ id,
   int pageNumber,
   Object^ userData
) 

Parameters

id
The scanning session Id.
pageNumber
The 1-based page number.
userData
The user data.
Requirements

Target Platforms

See Also

Reference

ITwainService Interface
ITwainService Members

Error processing SSI file