←Select platform

GetPage Method

Summary
Gets a specific image page.

Syntax
C#
C++/CLI
Python
[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}")] 
Stream^ GetPage(  
   String^ id, 
   int pageNumber, 
   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 22.0.2023.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Services.Twain Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.