|
|
|
|
|
- WLanguage properties that can be used with the diagPoint type
diagPoint (Variable type) In french: diagPoint
The diagSelection type is used to define all the advanced characteristics of a point in a diagram. You can define and change the characteristics of this point 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. MaForme is diagPolygon
MaForme.Point[1].X = 0
MaForme.Point[1].Y = 0
MaForme.Point[2].X = 25
MaForme.Point[2].Y = 25
MaForme.Point[3].X = 50
MaForme.Point[3].Y = 75
MaForme.Point[4].X = 100
MaForme.Point[4].Y = 20
MaForme.X = 50
MaForme.Y = 100
MaForme.Width = 350
MaForme.Height = 150
MaForme.Open = True
MonDiagramme is Diagram <- EDIAG_MonDiagramme
Add(MonDiagramme.Shape, MaForme)
Properties WLanguage properties that can be used with the diagPoint type The following properties can be used to define the characteristics of diagPoint variables:
| | Property name | Effect |
---|
X | X-coordinate of the point, expressed in pixels. | XPercent | X-coordinate of the point, expressed as a percentage. | Y | Y-coordinate of the point, expressed in pixels. | YPercent | Y-coordinate of the point, expressed as a percentage. |
Note: The initial value of a point is (0,0).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|