CoordinatePart(CoordinateType) Constructor
Creates a default CoordinatePart.
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
public CoordinatePart(
CoordinateType cType
)
Parameters
- cType CoordinateType
- Coordinate part type
Defaults coordinate part value to 0 degrees.
The following example creates a default latitudinal coordinate part and assigns it to a Coordinate object
Coordinate c = new Coordinate();
CoordinatePart cp = new CoordinatePart(CoordinateType.Lat);
c.Latitude = cp;