The
diagLayout type is used to define all the layout characteristics of a diagram. The characteristics of this layout can be defined and changed using different WLanguage properties.
This layout is used when the grid is displayed and when the diagram is printed.Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see
Declaring a variable.
myDiagram is Diagram
// Layout for A4
myLayout is diagLayout <- myDiagram.PageLayout
myLayout.PageWidth = 210.0
myLayout.PageHeight = 297.0
Properties
Properties specific to diagLayout variables
The following properties can be used to handle the layout of a diagram:
| | |
Property name | Type used | Effect |
---|
PageHeight | Real | Page height (in millimeters). |
PageWidth | Real | Page width (in millimeters). |
Remarks
If the PageHeight and PageWidth properties are set to 0, an infinite layout is used.