@cfxlabsinc/b2b-services
    Preparing search index...
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      • __namedParameters: {
            html: string;
            pdfOptions?: {
                displayHeaderFooter?: boolean;
                footerTemplate?: string;
                format?:
                    | "letter"
                    | "legal"
                    | "tabloid"
                    | "ledger"
                    | "a0"
                    | "a1"
                    | "a2"
                    | "a3"
                    | "a4"
                    | "a5"
                    | "a6";
                headerTemplate?: string;
                height?: string
                | number;
                landscape?: boolean;
                margin?: {
                    bottom?: string | number;
                    left?: string | number;
                    right?: string | number;
                    top?: string | number;
                };
                omitBackground?: boolean;
                outline?: boolean;
                pageRanges?: string;
                preferCSSPageSize?: boolean;
                printBackground?: boolean;
                scale?: number;
                tagged?: boolean;
                timeout?: number;
                width?: string
                | number;
            };
        }

      Returns Promise<ReadableStream<any> | null>