←Select platform

DeletePage Method

Summary

Deletes the specified page.

Syntax

C#
VB
C++
[OperationContractAttribute(Name="DeletePage", 
   Action="DeletePage", 
   AsyncPattern=false, 
   IsOneWay=false, 
   IsInitiating=true, 
   IsTerminating=false)] 
[WebInvokeAttribute(BodyStyle=2, 
   Method="POST", 
   RequestFormat=1, 
   ResponseFormat=1)] 
public 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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Services.Twain Assembly