Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools Namespace > RasterRegion Class : GetOutline Method |
public IList<LeadPoint[]> GetOutline()
'Declaration
Public Function GetOutline() As IList(Of LeadPoint())
'Usage
Dim instance As RasterRegion Dim value As IList(Of LeadPoint()) value = instance.GetOutline()
public Windows.Foundation.Collections.IVector //In WinRT the IListinterface is replaced by IVector <LeadPoint[]> GetOutline()
function Leadtools.RasterRegion.GetOutline()
public: IList<array<LeadPoint>>^ GetOutline();
Use GetOutline to get the outline of a RasterRegion object. The result of this method is a collection of an array of points for each path segment. For example, if the region was rectangular, then this method will return a list that contains a single array of 4 points: the top-left, top-right, bottom-right and bottom-left corners.
If the region was was elliptical, then this method will return a list that contains a single array of a number of points. The number and position of the points depends on the size of ellipse.
If the region is a complex shape with holes, then this method will return a list with many arrays with various number of points.