File

projects/make-a-vis/src/lib/shared/services/export/exportToPdfOptions.type.ts

Index

Properties

Properties

assumePt
assumePt: boolean
Type : boolean
colorCallback
colorCallback: Function
Type : Function
documentCallback
documentCallback: Function
Type : Function
fontCallback
fontCallback: Function
Type : Function
height
height: number
Type : number
imageCallback
imageCallback: Function
Type : Function
precision
precision: number
Type : number
preserveAspectRatio
preserveAspectRatio: string
Type : string
useCSS
useCSS: boolean
Type : boolean
warningCallback
warningCallback: Function
Type : Function
width
width: number
Type : number
import { InjectionToken } from '@angular/core';

export interface ExportToPdfOptions {
  width: number;
  height: number;
  preserveAspectRatio: string;
  useCSS: boolean;
  fontCallback: Function;
  imageCallback: Function;
  documentCallback: Function;
  colorCallback: Function;
  warningCallback: Function;
  assumePt: boolean;
  precision: number;
}

export type PdfOptions = Partial<ExportToPdfOptions>;
export const pdfOptionsToken = new InjectionToken<PdfOptions>('Pdf options', {
  providedIn: 'root',
  factory: () => ({})
});

result-matching ""

    No results matching ""