←Select platform

Smooth Event

Summary

Optional delegate method for additional processing.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public event EventHandler<SmoothCommandEventArgs> Smooth 
Public Event Smooth As EventHandler(Of SmoothCommandEventArgs) 
public event EventHandler<SmoothCommandEventArgs> Smooth 
typedef void (^LTSmoothCommandStatus)(LTRasterImage *image, LTSmoothCommandEventArgs *args, LTRemoveStatus *status) 
 
- (BOOL)run:(LTRasterImage *)image 
   progress:(nullable LTRasterCommandProgress)progressHandler 
     status:(nullable LTSmoothCommandStatus)lineRemoveStatus 
      error:(NSError **)error 
             
public void addSmoothCommandListener(SmoothCommandListener listener) 
public void removeSmoothCommandListener(SmoothCommandListener listener) 
             
add_Smooth(function(sender, e)) 
remove_Smooth(function(sender, e)) 
public: 
event EventHandler<SmoothCommandEventArgs^>^ Smooth 

Event Data

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

PropertyDescription
BumpNick Gets a value that indicates whether to remove bumps or fill in nicks.
Direction Gets a value that indicates whether the element being smoothed is vertical or horizontal.
Image Gets the RasterImage object that references the affected image.
Length Gets the length (in pixels) of the bump or nick.
StartColumn Gets the starting column of the bump or nick. The columns are zero-based.
StartRow Gets the starting row of the bump or nick. The rows are zero-based.
Status Gets or sets a value that represents the status of the smoothing process.
Example

Refer to SmoothCommand.

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