Hello, Esri Team
I trying to create programmatically in ArcGIS Pro SDK C#, a Button that create a map frame with basic properties of the map grid in c# (Border width of MapFrame, Coordinate System of Grid, Line width of Ticks, Font Style of Labels, Visible Labels, Interval of gridlines).
I have been looking for examples of how to set this basic properties for the map grid on the internet (Esri Community, github Esri, Google, stackexchange, chatgpt) but i cant find it.
So I need some basic examples to set this basic properties of the mapgrid:
- MapFrame>Display>Border>Symbol=(2 pt)
- Grid>Coordinate System=(Any Example)
- Grid>Ticks>Symbol>Appearance>Line width=(2 pt)
- Grid>Labels>General>Appearance>Font Style=(Bold)
- Grid>Components>labels>Visible=(North, South, East, West)
- Grid>Components>gridlines>Interval=(x=50000,Y=5000)
I attach a screenshot of what i need (mapframe with mapgrid)
