# AxMap.MaxExtents is only readoly

**URL:** <https://mapwindow.discourse.group/t/axmap-maxextents-is-only-readoly/321>\
**Category:** MapWinGIS\
**Created:** [October 30, 2019, 2:41pm UTC](https://mapwindow.discourse.group/t/axmap-maxextents-is-only-readoly/321 "2019-10-30T14:41:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![miclyk](https://avatars.discourse-cdn.com/v4/letter/m/7ba0ec/32.png) [@miclyk](https://mapwindow.discourse.group/u/miclyk)\
**Post date:** [October 30, 2019, 2:41pm UTC](https://mapwindow.discourse.group/t/axmap-maxextents-is-only-readoly/321/1 "2019-10-30T14:41:30Z")

</div>

I am trying to set the MaxExtents using [vb.net](http://vb.net) however VS2015 claims it is a readonly property but according to the documentation it should be possible to set it. I am using version 5.0.1.0

---

<div class="post-metadata">

**Author:** ![jerryfaust](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/jerryfaust/32/378_2.png) [@jerryfaust](https://mapwindow.discourse.group/u/jerryfaust)\
**Post date:** [October 30, 2019, 4:10pm UTC](https://mapwindow.discourse.group/t/axmap-maxextents-is-only-readoly/321/2 "2019-10-30T16:10:24Z")

</div>

Hello @miclyk

I think what you want is the [Extents property](https://www.mapwindow.org/documentation/mapwingis4.9/group __map__ extents.html#gab8458ba8ad5981a71b9cbb14a540721f) rather than MapExtents.

---

<div class="post-metadata">

**Author:** ![pmeems](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/pmeems/32/9_2.png) [@pmeems](https://mapwindow.discourse.group/u/pmeems)\
**Post date:** [November 11, 2019, 8:10am UTC](https://mapwindow.discourse.group/t/axmap-maxextents-is-only-readoly/321/3 "2019-11-11T08:10:28Z")

</div>

This topic was automatically closed 11 days after the last reply. New replies are no longer allowed.
