Show / Hide Table of Contents

Method GetSymbol

GetSymbol(GeoElement)

Returns the symbol the renderer uses to represent the supplied GeoElement.

Declaration
public Symbol GetSymbol(GeoElement element)
Parameters
Type Name Description
GeoElement element

The input GeoElement.

Returns
Type Description
Symbol

The Symbol used to represent the GeoElement.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15

GetSymbol(GeoElement, Boolean)

Returns the symbol that should be used to visualize the given GeoElement with override attributes from renderer.

Declaration
public Symbol GetSymbol(GeoElement element, bool applyAttributeOverrides)
Parameters
Type Name Description
GeoElement element

The input GeoElement.

Boolean applyAttributeOverrides

A value indicating whether override attributes from renderer is applied.

Returns
Type Description
Symbol

The Symbol used to represent the GeoElement.

Remarks

If applyAttributeOverrides is set to true and renderer contains an override expression, this method will return a symbol modified by the expression. If the expression cannot be properly evaluated due to missing fields or external data, then the original symbol is returned.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.5 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.5 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.5 - 100.15
Xamarin.iOS100.5 - 100.15
UWP100.5 - 100.15
In This Article
Back to top Copyright © 2022 Esri.