Leadtools.ImageProcessing.Core Namespace > SliceCommand Class : Slice Event |
public event EventHandler<SliceCommandEventArgs> Slice
'Declaration Public Event Slice As EventHandler(Of SliceCommandEventArgs)
'Usage Dim instance As SliceCommand Dim handler As EventHandler(Of SliceCommandEventArgs) AddHandler instance.Slice, handler
public event EventHandler<SliceCommandEventArgs> Slice
add_Slice(function(sender, e)) remove_Slice(function(sender, e))
public: event EventHandler<SliceCommandEventArgs^>^ Slice
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.
Property | Description |
---|---|
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. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2