←Select platform

InvertedText Event

Summary

Optional delegate method for additional processing.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public event EventHandler<InvertedTextCommandEventArgs> InvertedText
Public Event InvertedText As EventHandler(Of InvertedTextCommandEventArgs)
public event EventHandler<InvertedTextCommandEventArgs> InvertedText
typedef void (^LTInvertedTextCommandStatus)(LTRasterImage *image, LTInvertedTextCommandEventArgs *args, LTRemoveStatus *status) 
 
- (BOOL)run:(LTRasterImage *)image 
   progress:(nullable LTRasterCommandProgress)progressHandler 
     status:(nullable LTInvertedTextCommandStatus)invertedTextStatus 
      error:(NSError **)error 
public void addInvertedTextCommandListener(InvertedTextCommandListener listener) 
public void removeInvertedTextCommandListener(InvertedTextCommandListener listener) 
add_InvertedText(function(sender, e)) 
remove_InvertedText(function(sender, e)) 
public: 
event EventHandler<InvertedTextCommandEventArgs^>^ InvertedText 

Event Data

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

PropertyDescription
BlackCount Gets the total number of black pixels in the inverted text region being processed.
BoundingRectangle Gets a rectangular structure that contains the bounding rectangle of the inverted text region being processed.
Image Gets an RasterImage object that references the affected image.
Region Gets a LEADTOOLS RasterRegion representing the inverted text to be removed. Dispose of this region when it is no longer needed.
Status Gets or sets the status of the inverted text process.
WhiteCount Gets the total number of white pixels in the inverted text region being processed.
Example

Refer to InvertedTextCommand.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.ImageProcessing.Core Assembly
Click or drag to resize