@squidcloud/client
    Preparing search index...

    Interface CreatePdfFromHtmlRequest

    Request payload for creating a PDF from HTML content.

    interface CreatePdfFromHtmlRequest {
        cssUrl?: string;
        innerHtml: string;
        outputOptions?: CreatePdfOutputOptions;
        title?: string;
        type: "html";
    }

    Hierarchy (View Summary)

    Index

    Properties

    cssUrl?: string

    Optional URL for CSS styles to apply to the HTML content.

    innerHtml: string

    The HTML content to convert into a PDF. Should not contain , , , should just include the inner HTML

    outputOptions?: CreatePdfOutputOptions

    The formatting options for the PDF document. Can be either a predefined format (like 'letter') or custom dimensions.

    title?: string

    Optional title for the PDF document.

    type: "html"

    The type of PDF creation, always 'html' for this request.