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



Gets or set the optional delegate method for additional processing.

Syntax

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

Event Data

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

PropertyDescription
Cancel Gets or sets the value which indicates whether or not to continue with the slicing command.
DeskewAngle Gets the angle of deskewing.
Image Affected image.
SliceImage Gets the The sliced images.
SliceRectangle Gets the bounding rectangle of the extracted slice.

Example

Refer to SliceCommand example.

Requirements

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

See Also