CustomShapefileData.ShapeData Property
Gets or sets shape data.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
Declaration
Property Value
Type | Description |
---|---|
Byte[] | An array of Byte values that specifies shape data. |
Remarks
To load the existing shapefile in code, set the MapDashboardItem.Area property to ShapefileArea.Custom and use the MapDashboardItem.CustomShapefile property. There are two ways to provide the custom shapefile.
- Use the CustomShapefile.Url property to specify the path to the shapefile.
- Create the CustomShapefileData object, specify its ShapeData and CustomShapefileData.AttributeData (optionally) properties and assign this object to the CustomShapefile.Data property.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShapeData property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.