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
Exports a diagram to an SVG image.
Example
MyDiagram is Diagram <- DIAGEDT_MyDiagram
let bufSVG = MyDiagram.toSVG()
IF ErrorOccurred THEN
Error()
RETURN
END
fSaveBuffer("DiagramExport.svg", bufSVG)
Syntax
<Result> = <Diagram>.ToSVG()
<Result>: Buffer
SVG vector image (string encoded using UTF-8).
<Diagram>: Diagram variable
Diagram variable to manipulate
Remarks
The returned Buffer variable can be saved to a file (fSaveBuffer) or directly displayed in another control,
Component: wd290mdl.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/19/2023

Send a report | Local help