C#
VB
Java
Objective-C
WinRT C#
C++
Optional delegate method for additional processing.
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
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.
Property | Description |
---|---|
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. |
Refer to InvertedTextCommand.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET