Create a closed polyline (polygon) making a flood fill starting from x,y point.

This method is usefull to create a polygon following the image edges.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public IEObjectPolyLine(
	IEAnnotations Annotations,
	bool fromEdge,
	int x,
	int y,
	bool maxFilter,
	int tolerance
)
Public Sub New ( _
	Annotations As IEAnnotations, _
	fromEdge As Boolean, _
	x As Integer, _
	y As Integer, _
	maxFilter As Boolean, _
	tolerance As Integer _
)
public:
IEObjectPolyLine(
	IEAnnotations^ Annotations, 
	bool fromEdge, 
	int x, 
	int y, 
	bool maxFilter, 
	int tolerance
)

Parameters

Annotations
IEAnnotations
The parent IEAnnotations object
fromEdge
Boolean
True if you want a polygon from image edge
x
Int32
The starting horizontal coordinate
y
Int32
The starting vertical coordinate
maxFilter
Boolean
Set maxFilter to True to apply a maximum filter that removes noise.
tolerance
Int32
tolerance specifies the color diference of starting pixel and testing one.

See Also