VectorMapLayer.ImportSld
Contents
[
Hide
]ImportSld(string, SldImportOptions)
Imports style from Styled Layer Descriptor file located at the specified path.
public void ImportSld(string path, SldImportOptions options = null)
| Parameter | Type | Description |
|---|---|---|
| path | String | Path to the Styled Layer Descriptor file. |
| 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
ImportSld(AbstractPath, SldImportOptions)
Imports style from Styled Layer Descriptor file located at the specified path.
public void ImportSld(AbstractPath path, SldImportOptions options = null)
| Parameter | Type | Description |
|---|---|---|
| path | AbstractPath | Path to the Styled Layer Descriptor file. |
| 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 AbstractPath
- class SldImportOptions
- class VectorMapLayer
- namespace Aspose.Gis.Rendering
- assembly Aspose.GIS