Skip to main content

ASPxClientDiagram.ExportTo(format, callback) Method

Exports the diagram to an image format.

Declaration

ExportTo(
    format: string,
    callback: (arg: string) => void
): void

Parameters

Name Type Description
format string

The image format. Acceptable values: svg, png, jpg.

callback (arg: string) => void

A function to be executed after a diagram image is prepared and allows you to save the image.

See Also