←Select platform

ImageProcessing Event

Summary
Occurs in Run(String,Int32,Int32,String,String,Object) and Preview methods to apply the image processing command on the specified image.

Syntax
C#
C++/CLI
Python
public event EventHandler<PageImageProcessingEventArgs> ImageProcessing 
public: 
event EventHandler<PageImageProcessingEventArgs^>^ ImageProcessing 
def ImageProcessing(sender,e): # sender: TwainScanningService e: PageImageProcessingEventArgs 
Event Data

The event handler receives an argument of type PageImageProcessingEventArgs containing data related to this event. The following PageImageProcessingEventArgs properties provide information specific to this event.

PropertyDescription
Arguments (Inherited from Leadtools.Services.Twain.ImageProcessingEventArgs)(Read only) Gets the command arguments.
CommandName (Inherited from Leadtools.Services.Twain.ImageProcessingEventArgs)(Read only) Gets the command name.
FirstPageNumber (Inherited from Leadtools.Services.Twain.ImageProcessingEventArgs)(Read only) Gets the first page number to process.
Id (Inherited from Leadtools.Services.Twain.ImageProcessingEventArgs)(Read only) Gets the scan session Id.
Image (Read only) Gets the image page.
IsCanceled (Inherited from Leadtools.Services.Twain.ImageProcessingEventArgs)Indicates whether the operation should be canceled.
IsPreview (Inherited from Leadtools.Services.Twain.ImageProcessingEventArgs)(Read only) Indicates whether the requested command is for preview.
LastPageNumber (Inherited from Leadtools.Services.Twain.ImageProcessingEventArgs)(Read only) Gets the last page number to process.
PageNumber (Read only) Gets the page number.
PreviewHeight (Inherited from Leadtools.Services.Twain.ImageProcessingEventArgs)(Read only) Gets the preview height.
PreviewWidth (Inherited from Leadtools.Services.Twain.ImageProcessingEventArgs)(Read only) Gets the preview width.
Skip Indicates whether the operation should be skipped for the current page.
UserData (Inherited from Leadtools.Services.Twain.ImageProcessingEventArgs)(Read only) Gets the user 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.