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
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
diagLayout (Type of variable)
In french: diagMiseEnPage
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.
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: 05/22/2023

Send a report | Local help