VectorMapLayer.ImportSldFromString
VectorMapLayer.ImportSldFromString method
Imports style from the specified Styled Layer Descriptor string.
public void ImportSldFromString(string sld, SldImportOptions options = null)
| Parameter | Type | Description |
|---|---|---|
| sld | String | Styled Layer Descriptor. |
| options | SldImportOptions | Import options. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Argument is null. |
| XmlException | An error occurred while parsing the XML. |
| FormatException | No SLD style was found in the XML. |
Remarks
This method overwrites value of the Symbolizer property.
See Also
- class SldImportOptions
- class VectorMapLayer
- namespace Aspose.Gis.Rendering
- assembly Aspose.GIS