ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Diagram Editor functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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: wd300mdl.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help