AnsweredAssumed Answered

Style files location

Question asked by ilya.s.solovyev on Feb 18, 2013
Latest reply on Feb 21, 2013 by ilya.s.solovyev
Is there any function or property in ArcObjects (.NET) which resolves paths to style files location? I want to avoid hardcoding strings like "C:\Program Files\ArcGIS\Desktop10.1\Styles". I am using ArcGIS 10.1 SP1.

ArcGIS Help says there are user and system folders:

  • <install drive>:\Program Files\ArcGIS\Desktop10.1\Styles

  • On Windows XP, it is located at <install drive>:\Documents and Settings\<username>\Application Data\ESRI\Desktop10.1\ArcMap

  • On Windows Vista and Windows 7, it is located at <install drive>:\Users\<username>\AppData\Roaming\ESRI\Desktop10.1\ArcMap