setPdfMetadata Method

Callable

  • Sets PDF metadata to the current product.

    example
    editor.configuration.setPdfMetadata({
            author: "John Wood",
            title: "Postcard template with flowers",
            keywords: "red,flower,postcard"
        })
        .catch(function (error) {
            console.error("setPdfMetadata failed with exception: ", error);
        });
    

    Parameters

    • config: IPdfMetadata

      PDF metadata to be saved in the hi-res output.

    Returns Promise < void >