# SaveAsImageOptions

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / SaveAsImageOptions

# Type Alias: SaveAsImageOptions

> **SaveAsImageOptions** = `object`

Represents options used by the SaveAs* methods on [PdfPage](../classes/PdfPage).

## Properties

### allowFontSbits?

> `optional` **allowFontSbits**: `boolean`

Indicates whether bitmaps embedded in an OpenType font should be rendered.

***

### backColor?

> `optional` **backColor**: [`Color`](Color)

The background color. The default is "White".

***

### drawAnnotations?

> `optional` **drawAnnotations**: `boolean`

Indicates whether to draw annotations. The default is true.

***

### drawFormFields?

> `optional` **drawFormFields**: `boolean`

Indicates whether to render form fields. The default is true.

***

### drawSvgTextAsPath?

> `optional` **drawSvgTextAsPath**: `boolean`

Indicates whether SVG text elements should be rendered as graphic paths.

***

### embedSvgFonts?

> `optional` **embedSvgFonts**: `boolean`

Indicates whether fonts used in the SVG text elements should be embedded.

***

### interpolationMode?

> `optional` **interpolationMode**: [`InterpolationMode`](../enumerations/InterpolationMode)

The sampling mode to use when drawing images with resizing. The default is "Downscale".

***

### preciseCharPositions?

> `optional` **preciseCharPositions**: `boolean`

Indicates whether the positions are set for each individual character within the SVG text element.

***

### useGlyphBitmapCache?

> `optional` **useGlyphBitmapCache**: `boolean`

Indicates whether glyphs are cached as bitmaps rather than as glyph paths.

***

### useRenderingCache?

> `optional` **useRenderingCache**: `boolean`

Indicates whether to use rendering cache.

***

### zoom?

> `optional` **zoom**: `number`

Scaling factor of the resulting image. The default is 1.0.
