private void BuildToggleList(Rdl.Render.Page page) { _displayedToggleList = new List <ToggleElementStruct>(); foreach (Element child in page.Children) { RecurseBuildToggleList(child, 0, 0); } }
private Bitmap PaintPage(Graphics g, Rdl.Render.Page rdlPage, bool print, decimal xMult, decimal yMult) { Bitmap bp = new Bitmap((int)(rdlPage.Width * xMult), (int)(rdlPage.Height * yMult)); _pageBitmap = bp; foreach (Rdl.Render.Element elmt in rdlPage.Children) { RecursePaintPanel(Graphics.FromImage(bp), xMult, yMult, print, elmt, new Point(0, 0), 0m, 0m); } return(bp); }