ActiveReports Developer 7
DesignerUnits Property
See Also  Example
GrapeCity.ActiveReports.Design.Win.v7 Assembly > GrapeCity.ActiveReports.Design Namespace > Designer Class : DesignerUnits Property

Glossary Item Box

Gets or sets the measurement units for the designer.

Syntax

Visual Basic (Declaration) 
Public Property DesignerUnits As MeasurementUnits
C# 
public MeasurementUnits DesignerUnits {get; set;}

Property Value

Integer.

Example

C#Copy Code
private void designer1_Load(object sender, System.EventArgs e)
{
    this.designer1.DesignerUnits = GrapeCity.ActiveReports.Design.MeasurementUnits.Inches;
    this.designer1.ToolBoxItem = null;
}
Visual BasicCopy Code
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.ToolBoxItem = Nothing
End Sub

See Also