←Select platform

LineRemove Event

Summary

Optional delegate method for additional processing.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public event EventHandler<LineRemoveCommandEventArgs> LineRemove 
Public Event LineRemove As EventHandler(Of LineRemoveCommandEventArgs) 
public event EventHandler<LineRemoveCommandEventArgs> LineRemove 
typedef void (^LTLineRemoveCommandStatus)(LTRasterImage *image, LTLineRemoveCommandEventArgs *args, LTRemoveStatus *status) 
 
- (BOOL)run:(LTRasterImage *)image 
   progress:(nullable LTRasterCommandProgress)progressHandler 
     status:(nullable LTLineRemoveCommandStatus)lineRemoveStatus 
      error:(NSError **)error 
             
public void addLineRemoveCommandListener(LineRemoveCommandListener listener) 
public void removeLineRemoveCommandListener(LineRemoveCommandListener listener) 
             
add_LineRemove(function(sender, e)) 
remove_LineRemove(function(sender, e)) 
public: 
event EventHandler<LineRemoveCommandEventArgs^>^ LineRemove 

Event Data

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

PropertyDescription
Image Gets an RasterImage object that references the affected image.
Length Gets the length (in pixels) of the line.
Region Gets a LEADTOOLS RasterRegion representing the line to be removed.
StartColumn Gets the starting column of the line. The columns are zero-based.
StartRow Gets the starting row of the line. The rows are zero-based.
Status Gets or sets a value that represents the status of the line remove process.
Example

Refer to LineRemoveCommand.

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