Creates a new Polyline layer with a closed polyline (polygon) along the edge of the background layer.
The edge is determined by simulating a flood fill starting at the point specified by screenX and screenY (these are points within the control, not points of the bitmap).
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.0.0.0
|C#||Visual Basic||Visual C++|
public LayersCreateFromEdge( screenX, screenY, tolerance, maxFilter )
Public Function LayersCreateFromEdge ( _ screenX As , _ screenY As , _ tolerance As , _ maxFilter As _ ) As
public: LayersCreateFromEdge( screenX, screenY, tolerance, maxFilter )
horizontal position of the starting point
vertical position of the starting point
tolerance specifies the color difference between the starting pixel and the pixel being tested.
Set maxFilter to True to apply a maximum filter that removes noise.