Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

Style files location

$
0
0
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

Viewing all articles
Browse latest Browse all 1374

Trending Articles