PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
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: wd280mdl.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment