ActiveReports 6 Online Help
DesignUnits Property
Example 

Gets or sets the measurement units for the designer.
Syntax
'Declaration
 
Public Property DesignUnits As MeasurementUnits
public MeasurementUnits DesignUnits {get; set;}

Property Value

Integer.
Example
private void designer1_Load(object sender, System.EventArgs e)
{
    this.designer1.DesignUnits = DataDynamics.ActiveReports.Design.MeasurementUnits.US;
    this.designer1.ToolBoxItem = null;
}
Private Sub Designer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Designer1.Load
    Me.Designer1.DesignUnits = DataDynamics.ActiveReports.Design.MeasurementUnits.US
    Me.Designer1.ToolBoxItem = Nothing
End Sub
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 Class
Designer Members
MeasurementUnits Enumeration

Send Feedback