Hi.
I'm trying to export teh active layout inside a loop, which employs some custom business logic in order to change map frame extent.
Here's code template:
mapView.PanTo(extentShape);
mapView.Redraw(true);
LayoutView.Active.Layout.Export(new PDFFormat...);
The thing is, that the exported PDF doesn't contain all layers.
It looks like PanTo method isn't blocking until the actual rendering on the view is finished,
so the Export method outputs only what's in the view at at that time.
Am I missing something? Is there some way to determine that the views of all the map frames on the layout finished their redrawing and are ready for export?
Thanks