←Select platform

Data Event

Summary

Occurs during the ColorResolutionCommand, to provide the converted data.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
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 

Event 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.

PropertyDescription
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.
Remarks

You can use this event to handle the converted image data that the ColorResolutionCommand has written to a buffer.

Example

For an example, refer to ColorResolutionCommand

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 Assembly