LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Data Event
See Also 
Leadtools.ImageProcessing Namespace > ColorResolutionCommand Class : Data Event



Occurs during the ColorResolutionCommand, to provide the converted data. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Event Data As EventHandler(Of ColorResolutionCommandDataEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As ColorResolutionCommand
Dim handler As EventHandler(Of ColorResolutionCommandDataEventArgs)
 
AddHandler instance.Data, handler

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. Supported in Silverlight, Windows Phone 7
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. Supported in Silverlight, Windows Phone 7
Image Gets the source image being converted. Supported in Silverlight, Windows Phone 7
Lines Gets the number of lines in the Data or DataArraybuffers. Supported in Silverlight, Windows Phone 7

Example

For an example, refer to ColorResolutionCommand

Remarks

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

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also