@combeenation/configurator-client
    Preparing search index...

    Function createPdfFromHtml

    • Converts a given HTML to PDF and uploads the resulting pdf to the given resource

      Parameters

      • name: string

        Name of the file to which the generated PDF should be uploaded. Can be used in Hive with configuration.GetFile("")

      • html: string

        The HTML itself which needs to be converted to a PDF

      • OptionaldisplayName: string

        Optional name which will be used when downloading the file

      • OptionalpdfOptions: Html2PdfOptions

        PDF generation options

      Returns Promise<undefined | string>

      The url of the PDF if successful