MeasurementOptionsFactoryCreate(MeasurementGeometryType) Method
Create a measurement options object with a specific geometry type.
Namespace: StreetSmart.Common.FactoriesAssembly: StreetSmart.WinForms (in StreetSmart.WinForms.dll) Version: 24.7.0.0+cc0a01953d1235087ce28d3e921f5bb47d3c0460
public static IMeasurementOptions Create(
MeasurementGeometryType geometryType
)
- geometryType MeasurementGeometryType
- The MeasurementGeometryType of the measurement
IMeasurementOptionsThe measurement options object that is needed to make a measurement
This sample shows how to use the
Create(MeasurementGeometryType) method.
// Create a measurement options object which can be used for start a surface measurement
MeasurementGeometryType geometryType = MeasurementGeometryType.Polygon;
IMeasurementOptions measurementOptions = MeasurementOptionsFactory.Create(geometryType);
Supported in: 18.7