←Select platform

GetPage Method (ISaneService)

Summary
Gets a specific image page.
Syntax
C#
VB
Java
ByteArrayOutputStream GetPage(  
   string id, 
   int pageNumber, 
   RasterImageFormat format, 
   int bpp, 
   int width, 
   int height, 
   object userData 
) 
Function GetPage( _ 
   ByVal id As String, _ 
   ByVal pageNumber As Integer, _ 
   ByVal format As RasterImageFormat, _ 
   ByVal bpp As Integer, _ 
   ByVal width As Integer, _ 
   ByVal height As Integer, _ 
   ByVal userData As Object _ 
) As ByteArrayOutputStream 
public ByteArrayOutputStream 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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Sane.Server Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.