Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools.ImageProcessing Namespace > ColorResolutionCommand Class : Data Event |
public event EventHandler<ColorResolutionCommandDataEventArgs> Data
'Declaration
Public Event Data As EventHandler(Of ColorResolutionCommandDataEventArgs)
'Usage
Dim instance As ColorResolutionCommand Dim handler As EventHandler(Of ColorResolutionCommandDataEventArgs) AddHandler instance.Data, handler
public event EventHandler<ColorResolutionCommandDataEventArgs> Data
typedef void (^LTColorResolutionCommandDataEvent)(LTRasterImage * _Nullable image, NSInteger lines, NSData *data, BOOL *cancel) - (BOOL)run:(LTRasterImage *)image progress:(nullable LTRasterCommandProgress)progressHandler dataEvent:(nullable LTColorResolutionCommandDataEvent)dataEventHandler error:(NSError **)error
synchronized public void addColorResolutionCommandDataListener(ColorResolutionCommandDataListener listener) synchronized public void removeColorResolutionCommandDataListener(ColorResolutionCommandDataListener listener)
add_Data(function(sender, e)) remove_Data(function(sender, e))
public: event EventHandler<ColorResolutionCommandDataEventArgs^>^ Data
The event handler receives an argument of type ColorResolutionCommandDataEventArgs containing data related to this event. The following ColorResolutionCommandDataEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether to abort the color resolution command. |
Data | Gets the unmanaged buffer containing one or more lines of output image data that the command has already converted. |
DataArray | Gets the managed buffer containing one or more lines of output image data that the command has already converted. |
Image | Gets the source image being converted. |
Lines | Gets the number of lines in the Data or DataArraybuffers. |