The Esri Community
Services & Programs
GeoNet Resource Hub
to create and rate content, and to follow, bookmark, and share content with other members.
How to load .style file in axSymbologyControl?
Discussion created by
on May 18, 2011
on May 19, 2011 by sujay.garapatis
Show 0 Likes
axSymbologyControl allow to load of .serverFileStyle, but how I can load .style file? Or can I edit .serverStyle file in arcgis Desctop?
This content has been marked as final.
Show 1 comment
(Required, will not be published)
May 19, 2011 4:54 AM
Dim sInstall As String = ReadRegistry("SOFTWARE\ESRI\CoreRuntime")
Dim path As String = System.IO.Path.Combine(sInstall, "Styles")
Dim pofd As OpenFileDialog = New OpenFileDialog()
pofd.CheckPathExists = True
pofd.CheckFileExists = True
pofd.RestoreDirectory = True
pofd.InitialDirectory = path
pofd.Multiselect = False
pofd.Title = "Symbols"
pofd.Filter = "ESRI Style Set Files (*.ServerStyle)|*.ServerStyle"
If pofd.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
'Load the style file into the SymbologyControlz
Show 0 Likes
Retrieving data ...
Error: The Layer, ######, cannot be added to the map
Web Adaptor Installation Problem!
create graphic from coordinates of json file onto map
Web Maps - labelling count of clustered features
Excute ServiceFeatureTable.QueryFeatureAsync Catch Exception