ExportOptionsSVG

Options which may be supplied when exporting a document as an SVG file.

Constants/Events

Name

Type

Access

Description

DTD

SVGDTDVersion

SVGDTDVersion.SVG1_0

SVGDTDVersion.SVG1_1

SVGDTDVersion.SVGBASIC1_1

SVGDTDVersion.SVGTINY1_1

SVGDTDVersion.SVGTINY1_1PLUS

SVGDTDVersion.SVGTINY1_2

readonly

The version of DTD that the exported file should be conforming to.

artboardRange

String

readonly

If SaveMultipleArtboards is true,this will be considered for multi-asset extraction which specifies artboard range.Empty string will extracts all the artboards.Default is empty string.

compressed

Boolean

readonly

Should the exported file be compressed.

coordinatePrecision

Int32 (range 1 - 7)

readonly

Decimal precision for element coordinate values.

cssProperties

SVGCSSPropertyLocation

SVGCSSPropertyLocation.ENTITIES

SVGCSSPropertyLocation.PRESENTATIONATTRIBUTES

SVGCSSPropertyLocation.STYLEATTRIBUTES

SVGCSSPropertyLocation.STYLEELEMENTS

readonly

How should the CSS properties of the document be included in the document.

documentEncoding

SVGDocumentEncoding

SVGDocumentEncoding.ASCII

SVGDocumentEncoding.UTF16

SVGDocumentEncoding.UTF8

readonly

How should the text in the document be encoded.

embedRasterImages

Boolean

readonly

Should the raster images in the exported file be included.

fontSubsetting

SVGFontSubsetting

SVGFontSubsetting.ALLGLYPHS

SVGFontSubsetting.COMMONENGLISH

SVGFontSubsetting.COMMONROMAN

SVGFontSubsetting.GLYPHSUSED

SVGFontSubsetting.GLYPHSUSEDPLUSENGLISH

SVGFontSubsetting.GLYPHSUSEDPLUSROMAN

SVGFontSubsetting.None

readonly

What font glyphs should be included in the exported file.

fontType

SVGFontType

SVGFontType.OUTLINEFONT

SVGFontType.SVGFONT

readonly

The type of font that should be included in the exported file.

includeFileInfo

Boolean

readonly

 

includeUnusedStyles

Boolean

readonly

 

includeVariablesAndDatasets

Boolean

readonly

 

optimizeForSVGViewer

Boolean

readonly

 

preserveEditability

Boolean

readonly

Preserve Illustrator editing capabilities when exporting the document.

sVGAutoKerning

Boolean

readonly

Is SVG auto kerning allowed?

sVGTextOnPath

Boolean

readonly

Is SVG text-on-path construct allowed?

saveMultipleArtboards

Boolean

readonly

All the artboards or range of the artboards will be saved.

slices

Boolean

readonly

Preserve slice data in exported document.