I am following a printing tutorial, but it's not working.
Maybe printing in ArcEngine 10 is different. The initial problem is that the PageLayout is null.
//I tried this like in the sample docPaper.Orientation = m_hookHelper.PageLayout.Page.Orientation; //Then I tried passing in my own ActiveView obj and casting to PageLayout IPageLayout pageLayout = docActiveView as IPageLayout;
But in both cases they are null.
Does anyone have a good link for printing in ArcEngine 10?