Format Property

Type

System.String

 

Access

Get/Set

 

Description

The Format property indicates the string format to use with the FromString and ToString methods.  Currently, the only format supported is "MGRS", which indicates a Military Grid Reference System description of a point.  

 

Example

[VB]

Private Sub GeoCalcNET_LinearValue_Format(ByVal lv As GeoCalcNET.LinearValue)

Dim format As String = lv.Format

lv.Format = "MGRS"

End Sub

 

[C#]

private void GeoCalcNET_LinearValue_Format(GeoCalcNET.LinearValue lv)

{

String format = lv.Format;

lv.Format = "MGRS";

}