Error processing SSI file
LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly)

Show in webframe

InvertedText Event








Optional delegate method for additional processing.
Syntax
public event EventHandler<InvertedTextCommandEventArgs> InvertedText
'Declaration
 
Public Event InvertedText As EventHandler(Of InvertedTextCommandEventArgs)
'Usage
 
Dim instance As InvertedTextCommand
Dim handler As EventHandler(Of InvertedTextCommandEventArgs)
 
AddHandler instance.InvertedText, handler
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))

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

See Also

Reference

InvertedTextCommand Class
InvertedTextCommand Members

Error processing SSI file