←Select platform

Data Event

Summary
Occurs during the ColorResolutionCommand, to provide the converted data.
Syntax
C#
VB
Objective-C
C++
Java
public event EventHandler<ColorResolutionCommandDataEventArgs> Data 
Public Event Data As EventHandler(Of ColorResolutionCommandDataEventArgs) 
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) 
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.
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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.