|
|
|
|
|
- Properties specific to diagActionAllowed variables
diagActionAllowed (Variable type) In french: diagActionAutorisée
The diagActionAuthorized type is used to define the actions available to end users on a diagram shape in the Diagram Editor control. You can define and change the characteristics of these rights using different WLanguage properties. Warning: This type of variable can only be used on variables derived from the diagShape type: Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
background is diagImage
background.Image = "background.png"
background.ActionAllowed.Move = False
background.ActionAllowed.Resize = False
background.ActionAllowed.Rotate = False
x is Diagram <- DIAGEDT_NoName1
x.Shape.Add(background)
Properties Properties specific to diagActionAllowed variables The following properties can be used to determine which actions are available on a shape: | | | Property name | Type used | Effect |
---|
ZOrder | Boolean | - True to allow changing the Z-order of the shape,
- False otherwise.
| ChangeAspectRatio | Boolean | If the Resize property is set to True: - True to allow changing the height and width of the shape independently,
- False otherwise.
| ConnectionPoint | Boolean | - True to allow changing the connection points of a shape (connectors only),
- False otherwise.
| Copy | Boolean | - True to allow copying and duplicating a shape,
- False otherwise.
| EditLabel | Boolean | - True to allow editing the label of a shape,
- False otherwise.
| EditStyle | Boolean | - True to allow changing the style of a shape (color, border, font, etc.),
- False otherwise.
| Move | Boolean | - True to allow moving a shape,
- False otherwise.
| Remove | Boolean | - True to allow removing a shape,
- False otherwise.
| Resize | Boolean | - True to allow resizing a shape,
- False otherwise.
| Rotate | Boolean | - True to allow rotating a shape,
- False otherwise.
| Select | Boolean | - True to allow selecting a shape,
- False otherwise.
| WayPoint | Boolean | - True to allow changing, adding and removing connection points from a shape (connectors only),
- False otherwise.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|