interface AcDbOleMetafileRasterizeOptions {
    dpiScale?: number;
    fontFamilyMap?: Record<string, string>;
    maxCanvasDimension?: number;
    maxHeight?: number;
    maxWidth?: number;
}

Properties

dpiScale?: number

DPI scale factor for higher-resolution output. Defaults to 1 for CAD overlays (sharp enough without huge textures).

fontFamilyMap?: Record<string, string>

Optional Windows face-name → CSS font-family map.

maxCanvasDimension?: number

Hard cap on canvas width/height.

maxHeight?: number

Maximum output height in pixels.

maxWidth?: number

Maximum output width in pixels.