ImageAreaPolygonCoordinates Property

This is overridden to get or set the coordinate values in string form

Definition

Namespace: EWSoftware.ImageMaps.Windows.Forms
Assembly: EWSoftware.ImageMaps.Windows.Forms (in EWSoftware.ImageMaps.Windows.Forms.dll) Version: 2023.1.3.0
public override string Coordinates { get; set; }

Property Value

String

Implements

IImageAreaCoordinates

Remarks

The coordinates are expected to be numeric and in X,Y pairs with each value separated by commas. There must be at least three pairs of coordinates to form the polygon.

Exceptions

ArgumentExceptionThis is thrown if the number of coordinates given is not exactly a multiple of two, there are less than three pairs of coordinates, or if non-numeric values are found.

See Also