ExportOptionsWebOptimizedSVG

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

Constants/Events

Name

Type

Access

Description

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.

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.

fontType

SVGFontType

SVGFontType.OUTLINEFONT

SVGFontType.SVGFONT

readonly

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

rasterImageLocation

RasterImageLocation

RasterImageLocation.EMBED

RasterImageLocation.LINK

RasterImageLocation.PRESERVE

readonly

Should the raster images in the exported file be included.

saveMultipleArtboards

Boolean

readonly

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

svgId

SVGIdType

SVGIdType.SVGIDMINIMAL

SVGIdType.SVGIDREGULAR

SVGIdType.SVGIDUNIQUE

readonly

How object names (IDs) are generated in exported SVG.

svgMinify

Boolean

readonly

Reduces the size of the svg.

svgResponsive

Boolean

readonly

Makes the SVG Responsive.