Back to Devexpress

ASPxClientDiagram.ExportTo(format, callback) Method

aspnet-js-aspxclientdiagram-dot-exportto-x28-format-callback-x29.md

latest618 B
Original Source

ASPxClientDiagram.ExportTo(format, callback) Method

Exports the diagram to an image format.

Declaration

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

Parameters

NameTypeDescription
formatstring

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

ASPxClientDiagram Class

ASPxClientDiagram Members