Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.27
|
Leadtools.ImageProcessing.Core Namespace > SmoothCommand Class : Smooth Event |
public event EventHandler<SmoothCommandEventArgs> Smooth
'Declaration
Public Event Smooth As EventHandler(Of SmoothCommandEventArgs)
'Usage
Dim instance As SmoothCommand Dim handler As EventHandler(Of SmoothCommandEventArgs) AddHandler instance.Smooth, handler
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
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.
Property | Description |
---|---|
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. |