←Select platform

DeletePage Method (ITwainService)

Summary

Deletes the specified page.

Syntax

C#
VB
C++
[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 
) 
<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 _ 
) 
[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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Services.Twain Assembly
Click or drag to resize