DsPdfJS API - v9.1.0
    Preparing search index...

    Type Alias SaveAsImageOptions

    Represents options used by the SaveAs* methods on PdfPage.

    type SaveAsImageOptions = {
        allowFontSbits?: boolean;
        backColor?: Color;
        drawAnnotations?: boolean;
        drawFormFields?: boolean;
        drawSvgTextAsPath?: boolean;
        embedSvgFonts?: boolean;
        interpolationMode?: InterpolationMode;
        preciseCharPositions?: boolean;
        useGlyphBitmapCache?: boolean;
        useRenderingCache?: boolean;
        zoom?: number;
    }
    Index

    Properties

    allowFontSbits?: boolean

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

    backColor?: Color

    The background color. The default is "White".

    drawAnnotations?: boolean

    Indicates whether to draw annotations. The default is true.

    drawFormFields?: boolean

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

    drawSvgTextAsPath?: boolean

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

    embedSvgFonts?: boolean

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

    interpolationMode?: InterpolationMode

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

    preciseCharPositions?: boolean

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

    useGlyphBitmapCache?: boolean

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

    useRenderingCache?: boolean

    Indicates whether to use rendering cache.

    zoom?: number

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