[]
DsPdfJS API / SaveAsImageOptions
SaveAsImageOptions =
object
Represents options used by the SaveAs* methods on PdfPage.
optionalallowFontSbits:boolean
Indicates whether bitmaps embedded in an OpenType font should be rendered.
optionalbackColor:Color
The background color. The default is "White".
optionaldrawAnnotations:boolean
Indicates whether to draw annotations. The default is true.
optionaldrawFormFields:boolean
Indicates whether to render form fields. The default is true.
optionaldrawSvgTextAsPath:boolean
Indicates whether SVG text elements should be rendered as graphic paths.
optionalembedSvgFonts:boolean
Indicates whether fonts used in the SVG text elements should be embedded.
optionalinterpolationMode:InterpolationMode
The sampling mode to use when drawing images with resizing. The default is "Downscale".
optionalpreciseCharPositions:boolean
Indicates whether the positions are set for each individual character within the SVG text element.
optionaluseGlyphBitmapCache:boolean
Indicates whether glyphs are cached as bitmaps rather than as glyph paths.
optionaluseRenderingCache:boolean
Indicates whether to use rendering cache.
optionalzoom:number
Scaling factor of the resulting image. The default is 1.0.