You’re viewing outdated documentation. View the latest Customer’s Canvas On-Premises documentation.

setPdfMetadata Method

Applies to: Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · Archived documentation

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 >