Get/Set
The X property provides access to the LinearValue object that represents the x-coordinate of the CartesianPoint.
Private Sub GeoCalcNET_CartesianPoint_X(ByVal pt As GeoCalcNET.CartesianPoint, ByVal data As GeoCalcNET.DataSourceComponent)
Dim x As GeoCalcNET.LinearValue = pt.X
Dim lv As New GeoCalcNET.LinearValue
lv.Units = data.GetLinearUnit("BMG", "PERCH")
lv.InUnits = 455
pt.X = lv
End Sub
private void GeoCalcNET_CartesianPoint_X(GeoCalcNET.CartesianPoint pt)
{
GeoCalcNET.LinearValue lv = pt.X;
GeoCalcNET.LinearValue lv2 = new GeoCalcNET.LinearValue();
lv2.Units = lv.Units;
lv2.InUnits = 345.67;
pt.X = lv2;
}