Click or drag to resize

DictionarySymbolStyleOpenAsync Method

Note: This API is now obsolete.

Opens a DictionarySymbolStyle using the style file identified by the specification type or style location.

Namespace:  Esri.ArcGISRuntime.Symbology
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0
Syntax
[ObsoleteAttribute("Replaced with DictionarySymbolStyle.CreateFromFile")]
public static Task<DictionarySymbolStyle> OpenAsync(
	string specificationType,
	string styleLocation
)

Parameters

specificationType
Type: SystemString
The name of supported military standard to use for the dictionary style.
styleLocation
Type: SystemString
The physical location of an older format (non-Arcade based) .stylx file. You must provide the full path (e.g. ../../../mil2525c/mil2525c.stylx).

Return Value

Type: TaskDictionarySymbolStyle
A new DictionarySymbolStyle object using the style file identified by the specification type or style location.
Remarks
This constructor is only valid for use with the older format style files. An exception is thrown if a newer format (Arcade-based) style is encountered.
See Also