I am working with ArcMap 10.1 and I am trying to set the Current Visible Extent on the Data Frame. The issue is when I go from focus map to page layout the scale of my map does not change when I change map sizes.
If I am in focusmap with the current visible extent being a county, when I select an 8&1/2 by 11 map size and go to pagelayout I see the county. Next, when I select a 34 x 44 inch map size and go to pagelayout I see half the state.
If I go to View - Data Frame Properties I have Extent set to Automatic, then with the Other radiobutton selected I select the Specify Extent button, this brings up the Full Extent selections where Custom Extent is selected, I then select Current Visible Extent, then select Ok-Apply and nothing changes.
When I go back through this Custom Extent is always selected and when I select Current Visible Extent it defaults back to Custom Extent when I go back to look at the settings.
If I go almost back to the beginning and on the Extent I select Fixed Extent (instead of Automatic), then the Specify Extent button which brings up where I can select Current Visible Extent. Current Visible Extent is already selected as a default, if I use Fixed Extent set like this nothing changes.
Issue 1 is I cannot set the Data Frame to display only the Current Visible Extent.
Issue 2 is that I want to do this in code, I have tried trying to set the ExtentType on the MapFrame, I get no errors, but nothing changes there as well.
I am sure there is a way to change this, if anyone has already sorted this out, just point me in the right direction.
Dale,
If I am in focusmap with the current visible extent being a county, when I select an 8&1/2 by 11 map size and go to pagelayout I see the county. Next, when I select a 34 x 44 inch map size and go to pagelayout I see half the state.
If I go to View - Data Frame Properties I have Extent set to Automatic, then with the Other radiobutton selected I select the Specify Extent button, this brings up the Full Extent selections where Custom Extent is selected, I then select Current Visible Extent, then select Ok-Apply and nothing changes.
When I go back through this Custom Extent is always selected and when I select Current Visible Extent it defaults back to Custom Extent when I go back to look at the settings.
If I go almost back to the beginning and on the Extent I select Fixed Extent (instead of Automatic), then the Specify Extent button which brings up where I can select Current Visible Extent. Current Visible Extent is already selected as a default, if I use Fixed Extent set like this nothing changes.
Issue 1 is I cannot set the Data Frame to display only the Current Visible Extent.
Issue 2 is that I want to do this in code, I have tried trying to set the ExtentType on the MapFrame, I get no errors, but nothing changes there as well.
I am sure there is a way to change this, if anyone has already sorted this out, just point me in the right direction.
Dale,