ActiveReports 9
Designer Class
Members  Example 

The Designer class is the base class for the End-User Report Designer control.
Object Model
Designer Class
Syntax
'Declaration
 
Public Class Designer 
   Inherits System.Windows.Forms.UserControl
public class Designer : System.Windows.Forms.UserControl 
Remarks
The designer control is used to customize report layouts at run time.
Example
private void designer1_Load(object sender, System.EventArgs e)
{
this.designer1.DesignerUnits = GrapeCity.ActiveReports.Design.MeasurementUnits.Inches;
this.designer1.DrawGrid = true;
this.designer1.GridX = 16;
this.designer1.GridY = 16;
this.designer1.LockControls = false;
this.designer1.ShowDataSourceIcon = true;
this.designer1.LayoutMode = GrapeCity.ActiveReports.Design.LayoutMode.SnapGrid;
this.designer1.ToolBoxItem = null;
}
Private Sub Designer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Designer1.Load
    Me.Designer1.DesignerUnits = GrapeCity.ActiveReports.Design.MeasurementUnits.Inches
    Me.Designer1.DrawGrid = True
    Me.Designer1.GridX = 16
    Me.Designer1.GridY = 16
    Me.Designer1.LockControls = False
    Me.Designer1.ShowDataSourceIcon = True
    Me.designer1.LayoutMode = GrapeCity.ActiveReports.Design.LayoutMode.SnapGrid
    Me.Designer1.ToolBoxItem = Nothing
End Sub
Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            System.Windows.Forms.ScrollableControl
               System.Windows.Forms.ContainerControl
                  System.Windows.Forms.UserControl
                     GrapeCity.ActiveReports.Design.Designer

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Designer Members
GrapeCity.ActiveReports.Design Namespace

Walkthroughs

Creating a Basic End User Report Designer

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum