• Converts the passed CXON document to an image.

    Parameters

    • source: string

      the document content in CXON format

    • imageType: ImageType

      currently supported image types: JPG, PNG, SVG, WEBP (WebP image format is partially supported on Safari).

    • Optional options: ExportOptions

      settings to be used for image export.

    • windowRef: Window = window

    Returns Promise<string>

    The generated image as a string value.

Generated using TypeDoc