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



Occurs during image resize. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Event Resize As EventHandler(Of RasterImageResizeEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As RasterImageResize
Dim handler As EventHandler(Of RasterImageResizeEventArgs)
 
AddHandler instance.Resize, handler
C++/CLI 
public:
event EventHandler<RasterImageResizeEventArgs^>^ Resize

Event Data

The event handler receives an argument of type RasterImageResizeEventArgs containing data related to this event. The following RasterImageResizeEventArgs properties provide information specific to this event.

PropertyDescription
Buffer Gets the unmanaged buffer that holds the resized row.
BufferArray Gets the managed buffer that holds the resized row. Supported in Silverlight, Windows Phone 7
Bytes Gets the number of bytes in the resized row buffer. Supported in Silverlight, Windows Phone 7
Cancel Gets or sets a value indicating whether to abort the resize operation. Supported in Silverlight, Windows Phone 7
Column Gets the column offset within the row being resized. Supported in Silverlight, Windows Phone 7
Image Gets a reference to the image being resized. Supported in Silverlight, Windows Phone 7
Row Gets the number of the resized row. Supported in Silverlight, Windows Phone 7

Example

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