ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Diagram editor functions
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
Remark: These functions are also available in prefix syntax (Diagram functions (prefix syntax)).
The following functions are used to handle diagrams and Diagram Editor controls:
DiagramEndModificationIndicates the end of a series of actions performed in a Diagram document in a single event ("undo/redo").
DiagramGroupCreates a group from the elements selected in the Diagram Editor control.
DiagramInfoXYIndicates the presence of a shape at a given position in the Diagram Editor control.
DiagramLoadLoads a diagram into a Diagram variable from a ".wddiag" file, a memo or a binary buffer.
DiagramLoadLibraryLoads a diagram file and creates a library of preset shapes from it.
DiagramSaveSaves a diagram as a "diag" file.
DiagramSearchSearches for shapes containing a specific text in a diagram.
DiagramSelectMinusDeselects a shape in a Diagram Editor control.
DiagramSelectPlusSelects a shape in a Diagram Editor control.
DiagramShapeToImageCreates an image from a shape in a diagram (the shape can be displayed or not in the diagram).
DiagramStartModificationIndicates the start of a series of actions performed in a Diagram document in a single event ("undo/redo").
DiagramToImageExports a diagram to a variable of type Image.
DiagramToSVGExports a diagram to an SVG image.
DiagramUngroupDissociates the different shapes of a group in a Diagram Editor control.

Multiple types of specific variables can also be used to handle diagrams:
diagBorderThe diagBorder type is used to define all the advanced characteristics of a border (or borders) of a shape used in a diagram.
diagConnectionPointThe diagConnectionPoint type is used to define all the advanced characteristics of a connection point (i.e. point around a shape that a connector snaps to) in a Diagram Editor control.
diagConnectorThe diagConnector type is used to define all the advanced characteristics of a connector in a diagram.
diagGroupThe diagGroup type is used to define all the advanced characteristics of a group of shapes in a Diagram Editor control.
diagHeadThe diagHead type is used to define all the advanced characteristics of an end of a connector in a diagram.
diagImageThe diagImage type is used to define all the advanced characteristics of a diagram shape created from an image.
diagLayoutThe diagLayout type is used to define all the layout characteristics of a diagram.
diagLibraryThe diagLibrary type is used to define all the advanced characteristics of a library of preset shapes used by a Diagram Editor control.
diagOvalThe diagOval type is used to define all the advanced characteristics of a shape of type Oval.
diagPathThe diagPath type is used to define all the advanced characteristics of a Path shape (equivalent to a polygon that can include rounded lines).
diagPointThe diagSelection type is used to define all the advanced characteristics of a point in a diagram.
diagPolygonThe diagPolygon type is used to define all the advanced characteristics of a shape of type Polygon.
DiagramThe Diagram type is used to define all the advanced characteristics of a diagram that can be edited in the Diagram Editor control.
diagRectangleThe diagRectangle type is used to define all the advanced characteristics of a shape of type Rectangle.
diagSelectionThe diagSelection type is used to define all the advanced characteristics of a selection made in a diagram.
diagShapeThe diagShape type is used to define all the advanced characteristics of the original shape used in a diagram.
diagTextThe diagText type is used to define all the advanced characteristics of a text associated with a shape in a diagram.
diagWaypointThe diagWaypoint type is used to define all the advanced characteristics of a connector waypoint.
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/14/2024

Send a report | Local help