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
let bufSVG = DiagramToSVG(DIAGEDT_MyDiagram)
IF ErrorOccurred THEN
	Error()
	RETURN
END
fSaveBuffer("DiagramExport.svg", bufSVG)
Syntax
<Result> = DiagramToSVG(<Diagram>)
<Result>: Buffer
SVG vector image (string encoded using UTF-8).
<Diagram>: Diagram Editor control or Diagram variable
Diagram to be used. This document corresponds to:
  • the name of a Diagram Editor control.
  • a variable of type Diagram.
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