MeasurementOptionsFactoryCreate(MeasurementGeometryType) Method

Create a measurement options object with a specific geometry type.

Definition

Namespace: StreetSmart.Common.Factories
Assembly: StreetSmart.WinForms (in StreetSmart.WinForms.dll) Version: 24.7.0.0+cc0a01953d1235087ce28d3e921f5bb47d3c0460
C#
public static IMeasurementOptions Create(
	MeasurementGeometryType geometryType
)

Parameters

geometryType  MeasurementGeometryType
The MeasurementGeometryType of the measurement

Return Value

IMeasurementOptions
The measurement options object that is needed to make a measurement

Example

This sample shows how to use the Create(MeasurementGeometryType) method.
C#
// Create a measurement options object which can be used for start a surface measurement
MeasurementGeometryType geometryType = MeasurementGeometryType.Polygon;
IMeasurementOptions measurementOptions = MeasurementOptionsFactory.Create(geometryType);

Version Information

Supported in: 18.7

See Also