Click or drag to resize

CoordinatePart Constructor (CoordinateType)

Creates a default CoordinatePart.

Namespace:  CoordinateSharp
Assembly:  CoordinateSharp (in CoordinateSharp.dll) Version: 2.12.1.1
Syntax
C#
public CoordinatePart(
	CoordinateType cType
)

Parameters

cType
Type: CoordinateSharpCoordinateType
Coordinate part type
Remarks
Defaults coordinate part value to 0 degrees.
Examples
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;
See Also