Occurs during the ColorResolutionCommand, to provide the converted data.
public event EventHandler<ColorResolutionCommandDataEventArgs> Data
Public Event Data As EventHandler(Of ColorResolutionCommandDataEventArgs)
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. |
You can use this event to handle the converted image data that the ColorResolutionCommand has written to a buffer.
For an example, refer to ColorResolutionCommand
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET