zoom in layout: zoom in 10% more of the envelope?

98
0
11-04-2021 03:16 PM
LeLuong
New Contributor III

Hi,

I'd like to zoom in 10% more of the envelope in my layout.  How can I do that ?  I currently have

LayoutProjectItem layoutItemLoc = Project.Current.GetItems<LayoutProjectItem>().FirstOrDefault(item => item.Name.Equals("PrintLayout"));
Layout layoutLoc = layoutItemLoc.GetLayout();

MapFrame mfLoc = layoutLoc.FindElement("myMap") as MapFrame;

Map mLoc = mfLoc.Map;

Envelope env = featLayer.QueryExtent();
mfLoc.SetCamera(env);

 Thank you!

0 Kudos
0 Replies