protected override void GenerateRegion(Bitmap bitmap, Rectangle rectGenerate, Rectangle rectScreen) { if (rectGenerate == rectScreen) { Page page = CurrentPage; page.GenerateRegion(bitmap, rectGenerate, page.Font.Size, null, null, CharacterDocument.ICEColours, blinkOn, (AllowEditing) ? (Point?)CursorPosition : null, SelectedTool != null ? SelectedTool.GetGenerator() : null); } else { base.GenerateRegion(bitmap, rectGenerate, rectScreen); } }