Skip to main content

PieChartExportBuilder.Formats(IEnumerable<ExportFormat>) Method

Specifies a set of export formats. Mirrors the client-side formats option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public PieChartExportBuilder Formats(
    IEnumerable<ExportFormat> value
)

Parameters

Name Type Description
value IEnumerable<ExportFormat>

The option value.

Returns

Type Description
PieChartExportBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().PieChart()
    .Export(export => export
        .Formats(new[] { ExportFormat.GIF })
    )
)
See Also