|
|
|
|
|
- Properties specific to diagEnd variables
diagHead (Variable type) In french: diagExtrémité
The diagHead type is used to define all the advanced characteristics of an end of a connector in a diagram. You can define and change the characteristics of this end using different WLanguage properties. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
rect1 is diagRectangle
rect2 is diagRectangle
Lien is diagConnector
Lien.Beginning.ConnectionPoint = rect1.ConnectionPoint(100, 50)
Lien.Beginning.Drawing = shapeNone
Lien.Ending.ConnectionPoint = rect2.ConnectionPoint(0, 50)
Lien.Beginning.Drawing = shapeTriangle
Properties Properties specific to diagEnd variables The following properties can be used to handle the end of a connector: | | | Property name | Type used | Effect |
---|
ConnectionPoint | diagConnectionPoint | Point the connector will snap to. | Drawing | Integer constant | Arrow drawing: - shapeNo: End has no particular shape.
- shapeSquare end is a square.
- shapeRoundedSquare End is a rounded square.
- shapeArrow The end is an arrow.
- shapeLosange End is a rhombus.
- shapeRound end is round.
- formTriangle end is a triangle.
| SnapMode | Integer constant | How the connector will snap to the target shape: - linkDestinationAuto The position of the end of the link is determined automatically according to the position of the link and the shape.
- linkDestinationForm The position of the end of the link is in the middle of the shape.
- linkDestinationPointDAttache The position of the end of the link corresponds to an attachment point.
- linkDestinationEnglobeRectangle The position of the end of the link corresponds to a point on the rectangle enclosing the shape.
| X | Real | X-coordinate of the end in the diagram. | Y | Real | Y-coordinate of the end in the diagram. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|