TreeMapExportBuilder.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 TreeMapExportBuilder Formats(
IEnumerable<ExportFormat> value
)
Parameters
Name | Type | Description |
---|---|---|
value | IEnumerable<ExportFormat> | The option value. |
Returns
Type | Description |
---|---|
TreeMapExportBuilder | A reference to this instance after the method is called. |
Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().TreeMap()
.Export(export => export
.Formats(new[] { ExportFormat.GIF })
)
)
See Also