|
|
|
|
EditMode (Property) In french: ModeEdition
The EditMode property gets and sets the editing mode of the Diagram Editor control: selection or freehand drawing.
// Enables freehand drawing DIAGEDT_MyDiagram.EditMode = diagModeFreehandDrawing
Syntax
Getting the current editing mode in the Diagram Editor control Hide the details
<Result> = <Diagram Editor control>.EditMode
<Result>: Integer constant Current editing mode in the control:
| | diagModeFreehandDrawing | The control is in freehand drawing mode. | diagModeSelection | The control is in selection mode. |
<Diagram Editor control>: Control name Name of the Diagram Editor control used.
Changing the current editing mode in the Diagram Editor control Hide the details
<Diagram Editor control>.EditMode = <New editing mode>
<Diagram Editor control>: Control name Name of the Diagram Editor control used. <New editing mode>: Integer constant New editing mode in the control:
| | diagModeFreehandDrawing | The control is in freehand drawing mode. | diagModeSelection | The control is in selection mode. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|