public Overview() { // Set some styles SetStyle(ControlStyles.AllPaintingInWmPaint, true); SetStyle(ControlStyles.DoubleBuffer, true); SetStyle(ControlStyles.ResizeRedraw, true); SetStyle(ControlStyles.UserPaint, true); document = null; options = new MindFusion.FlowChartX.PrintOptions(null); smoothMode = SmoothingMode.Default; scaleFactor = 30; fitToAll = false; marginalColor = Color.FromArgb(35, Color.Black); // Initialize rendering options options.EnableShadows = true; options.EnableImages = true; options.EnableInterior = true; options.EnableBackground = true; options.EnableBackgroundImage = true; options.EnableText = true; options.PaintControls = true; // Auto scroll autoScroll = true; autoScrDX = autoScrDY = 0; }