←Select platform

DotRemove Event

Summary

Optional delegate method for additional processing.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public event EventHandler<DotRemoveCommandEventArgs> DotRemove 
Public Event DotRemove As EventHandler(Of DotRemoveCommandEventArgs) 
public event EventHandler<DotRemoveCommandEventArgs> DotRemove 
typedef void (^LTDotRemoveCommandStatus)(LTRasterImage *image, LTDotRemoveCommandEventArgs *args, LTRemoveStatus *status) 
 
- (BOOL)run:(LTRasterImage *)image 
   progress:(nullable LTRasterCommandProgress)progressHandler 
     status:(nullable LTDotRemoveCommandStatus)dotRemoveStatus 
      error:(NSError **)error 
             
public void addDotRemoveCommandListener(DotRemoveCommandListener listener) 
public void removeDotRemoveCommandListener(DotRemoveCommandListener listener) 
             
add_DotRemove(function(sender, e)) 
remove_DotRemove(function(sender, e)) 
public: 
event EventHandler<DotRemoveCommandEventArgs^>^ DotRemove 

Event Data

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

PropertyDescription
BlackCount Gets the total number of black pixels in the dot being processed.
BoundingRectangle Gets the bounding rectangle of the dot being processed.
Image Gets the RasterImage object that references the image to be modified.
Region Gets the LEADTOOLS RasterRegion representing the dot to be removed.
Status Gets or sets a value that indicates the status of the dot removal process.
WhiteCount Gets the total number of white pixels in the dot being processed.
Example

Refer to DotRemoveCommand.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly