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
Loads a diagram into a Diagram variable from a ".wddiag" file, a memo or a binary buffer.
Example
MonDiagramme is Diagram
MonDiagramme <- EDIAG_MonDiagramme
MonDiagramme.Charge("diagramme1.wddiag")
IF ErrorOccurred THEN
	Error("Fichier non chargé: " + ErrorInfo())
END
Syntax
<Result> = <Diagram>.Load(<File to load>)
<Result>: Boolean
  • True if the file was loaded,
  • False otherwise. ErrorInfo returns more details about the error.
<Diagram>: Diagram variable
Name of the Diagram variable into which the file must be loaded.
<File to load>: Character string
Diagram file to be loaded. This file can correspond to:
  • the full path of a ".wddiag" file,
  • the name of a ".wddiag" file (if the file is in the directory of the executable),
  • a binary buffer containing the full details of a ".wddiag" file (result of <Diagram editor>.Save). In this case, it is possible to use direct Assign:
    Nom_Champ_Diagramme = NomFichier.NomRubriqueBinaire
Component: wd290mdl.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/03/2024

Send a report | Local help