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
)
<ObsoleteAttribute("Replaced with DictionarySymbolStyle.CreateFromFile")>
Public Shared Function OpenAsync (
specificationType As String,
styleLocation As String
) As Task(Of DictionarySymbolStyle)
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:
TaskDictionarySymbolStyleA new
DictionarySymbolStyle object using the style file identified by the specification type or style location.
RemarksThis 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