ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Diagram Editor functions / Types of variables
  • Properties specific to diagLayout variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
diagLayout (Variable type)
In french: diagMiseEnPage
The diagLayout type is used to define all the layout characteristics of a diagram. You can define and change the characteristics of this layout using different WLanguage properties. This layout is used when the grid is displayed and when the diagram is printed.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
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 nameType usedEffect
PageHeightRealPage height (in millimeters).
PageWidthRealPage width (in millimeters).
Remarks
If the PageHeight and PageWidth properties are set to 0, an infinite layout is used.
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/26/2024

Send a report | Local help