Macro Language Reference > Macros > Graphic > tsavesvg
  
tsavesvg
Description
Saves a graphic as an SVG (Scalable Vector Graphic) file.
Syntax
tsavesvg tagname:s filename:s
tsavesvg
[no parameter]
Invoke the Save Graphics as SVG dialog box.
tagname
The tag name of the graphic to be saved
filename
The name of the target SVG file
Additional Information
SVG Printer driver
The SVG printer driver outputs all colors using the rgb function, e.g. rgb(r,g,b) The SVG specification does not yet permit CMYK colors, but this is expected for Scalable Vector Graphics (SVG) 1.2 Specification: see www.w3.org for further information.
SVG Importer
The SVG importer is, again, limited to rgb values or any named colors from the CSS color book. There is, however, an extension that allows for CMYK colors, e.g. fill="x3b2:cmyk(c,m,y,k)". The x3b2: prefix on the color name tells the importer to let PTC ALD resolve the color itself: You can then use the cmyk() functions, Pantone colour names, etc.