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

getPdfMetadata Method

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

Callable

  • Reads PDF metadata of the current product.

    example
    editor.configuration.getPdfMetadata()
        .then(function (result) {
            console.info("getPdfMetadata returned: " + result.title);
        })
        .catch(function (error) {
            console.error("Retrieving PDF metadata failed with exception: ", error);
        });

    Returns Promise < IPdfMetadata >

    The IPdfMetadata structure with data to be saved in the hi-res output.