←Select platform

Preview Method

Summary
Gets the preview for the command.

Syntax
C#
C++/CLI
Python
public virtual Stream Preview( 
   string id, 
   int pageNumber, 
   string commandName, 
   string arguments, 
   int width, 
   int height, 
   RasterImageFormat format, 
   int bpp, 
   object userData 
) 
public: 
virtual Stream^ Preview(  
   String^ id, 
   int pageNumber, 
   String^ commandName, 
   String^ arguments, 
   int width, 
   int height, 
   RasterImageFormat format, 
   int bpp, 
   Object^ userData 
)  

Parameters

id
The scanning session Id.

pageNumber
1-based page number.

commandName
The command name.

arguments
The command arguments.

width
The image width.

height
The image height.

format
The image format.

bpp
The image bits-per-pixel.

userData
The user data.

Return Value

Gets an image of the preview of the command.

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.