Skip to main content
All docs
V25.1
  • TdxChart.ExportToSVG(string,Integer,Integer) Method

    Exports chart content to a file in SVG format.

    Declaration

    procedure ExportToSVG(const AFileName: string; AImageWidth: Integer = 0; AImageHeight: Integer = 0); overload;

    Parameters

    Name Type Description
    AFileName string

    The absolute or relative path to the resulting SVG file.

    AImageWidth Integer

    Optional. The target width (in pixels) of the exported image.

    AImageHeight Integer

    Optional. The target height (in pixels) of the exported image.

    Remarks

    Important

    Do not call the ExportToSVG procedure in your code. To export Chart control content to a file in SVG format, call the control’s corresponding ExportToSVG procedure instead.

    See Also