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