←Select platform

GetPage Method

Summary

Gets a specific image page.

Syntax

C#
VB
C++
[WebGetAttribute(BodyStyle=1, 
   RequestFormat=1, 
   ResponseFormat=1, 
   UriTemplate="GetPage?id={id}&pageNumber={pageNumber}&format={format}&bpp={bpp}&width={width}&h" + "eight={height}&userData={userData}")] 
[OperationContractAttribute(Name="GetPage", 
   Action="GetPage", 
   AsyncPattern=false, 
   IsOneWay=false, 
   IsInitiating=true, 
   IsTerminating=false)] 
public Stream GetPage( 
   string id, 
   int pageNumber, 
   RasterImageFormat format, 
   int bpp, 
   int width, 
   int height, 
   object userData 
) 
  
<OperationContractAttribute(Name="GetPage", Action="GetPage")> 
<WebGetAttribute(BodyStyle=WebMessageBodyStyle.Wrapped,  
   IsBodyStyleSetExplicitly=True,  
   IsRequestFormatSetExplicitly=True,  
   IsResponseFormatSetExplicitly=True,  
   RequestFormat=WebMessageFormat.Json,  
   ResponseFormat=WebMessageFormat.Json,  
   UriTemplate="GetPage?id={id}&pageNumber={pageNumber}&format={format}&bpp={bpp}&width={width}&height={height}&userData={userData}")> 
Function GetPage( _ 
   ByVal id As String, _ 
   ByVal pageNumber As Integer, _ 
   ByVal format As Leadtools.RasterImageFormat, _ 
   ByVal bpp As Integer, _ 
   ByVal width As Integer, _ 
   ByVal height As Integer, _ 
   ByVal userData As Object _ 
) As Stream 
[OperationContractAttribute(Name="GetPage", Action="GetPage")] 
[WebGetAttribute(BodyStyle=WebMessageBodyStyle.Wrapped,  
   IsBodyStyleSetExplicitly=true,  
   IsRequestFormatSetExplicitly=true,  
   IsResponseFormatSetExplicitly=true,  
   RequestFormat=WebMessageFormat.Json,  
   ResponseFormat=WebMessageFormat.Json,  
   UriTemplate="GetPage?id={id}&pageNumber={pageNumber}&format={format}&bpp={bpp}&width={width}&height={height}&userData={userData}")] 
Stream^ GetPage(  
   String^ id, 
   int pageNumber, 
   Leadtools.RasterImageFormat format, 
   int bpp, 
   int width, 
   int height, 
   Object^ userData 
)  

Parameters

id
The scanning session Id.

pageNumber
The 1-based page number.

format
The image format.

bpp
The image bits-per-pixel.

width
The image width.

height
The image height.

userData
The user data.

Return Value

The image 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