Skip to content

FXGSaveOptions

fxgSaveOptions

Specifies options which may be supplied when saving a document as an FXG file. All properties are optional.


fxgSaveOptions.artboardRange

If saveMultipleArtboards is true, this is considered for multi-asset extraction, which specifies the artboard range. An empty string extracts all the artboards.

Default: empty String.

String.


fxgSaveOptions.blendsPolicy

The policy used by FXG to expand blends.

Default: BlendsExpandPolicy.AUTOMATICALLYCONVERTBLENDS.

BlendsExpandPolicy


fxgSaveOptions.downsampleLinkedImages

If true, linked images are downsampled (at 72 dpi).

Default: false.

Boolean.


fxgSaveOptions.filtersPolicy

The policy used by FXG to preserve filters.

Default: FiltersPreservePolicy.KEEPFILTERSEDITABLE.

FiltersPreservePolicy


fxgSaveOptions.gradientsPolicy

The policy used by FXG to preserve gradients.

Default: GradientsPreservePolicy.AUTOMATICALLYCONVERTGRADIENTS.

GradientsPreservePolicy


fxgSaveOptions.includeUnusedSymbols

If true, unused symbols are included.

Default: false.

Boolean.


FXGSaveOptions.preserveEditingCapabilities

Section titled “FXGSaveOptions.preserveEditingCapabilities”

fxgSaveOptions.preserveEditingCapabilities

If true, the editing capabilities of FXG are preserved.

Default: true.

Boolean.


fxgSaveOptions.saveMultipleArtboards

If true, all artboards or range of artboards are saved.

Default: false.

Boolean.


fxgSaveOptions.textPolicy

The policy used by FXG to preserve text.

Default: TextPreservePolicy.AUTOMATICALLYCONVERTTEXT.

TextPreservePolicy


fxgSaveOptions.version

The version of the FXG file format to create. Default FXGVersion.VERSION2PT0.

FXGVersion