Measurements.SetCreateMode(RulerType) Method
Activates the Measurements object’s Create mode.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
rulerType | RulerType | The type of ruler that is created. |
Remarks
In Create mode, users can click an area on the map to create a ruler. They do not need to click toolbar buttons. The SetCreateMode method’s parameter defines the ruler type. The following code activates Create mode for a distance ruler:
After a user adds a ruler, the Measurements object activates Edit mode.
See Also