←Select platform

HolePunchRemove Event

Summary

Optional delegate method for additional processing.

Syntax

C#
VB
WinRT C#
C++
public event EventHandler<HolePunchRemoveCommandEventArgs> HolePunchRemove
Public Event HolePunchRemove As EventHandler(Of HolePunchRemoveCommandEventArgs)
public event EventHandler<HolePunchRemoveCommandEventArgs> HolePunchRemove
add_HolePunchRemove(function(sender, e)) 
remove_HolePunchRemove(function(sender, e)) 
public: 
event EventHandler<HolePunchRemoveCommandEventArgs^>^ HolePunchRemove 

Event Data

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

PropertyDescription
BlackCount Gets the total number of black pixels in one of the holes of a hole punch pattern.
BoundingRectangle Gets a rectangle structure that contains the bounding rectangle of one of the holes in a hole punch pattern.
HoleIndex Gets the index of the hole within a hole punch pattern.
HoleTotalCount Gets the total number of holes that make up the hole punch pattern.
Image Gets the RasterImage object that references the affected image.
Region Gets the LEADTOOLS RasterRegion representing one of the holes of the hole punch pattern.
Status Gets or sets the status of the hole punch removal process.
WhiteCount Gets the total number of white pixels in one of the holes of a hole punch pattern.
Example

Refer to HolePunchRemoveCommand.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.ImageProcessing.Core Assembly
Click or drag to resize