MESCIUS.ActiveReports.Design.Win Assembly / GrapeCity.ActiveReports.Design Namespace / Designer Class / DesignerUnits Property
Example

DesignerUnits Property
Gets or sets the measurement units for the designer.
Syntax
'Declaration
 
Public Property DesignerUnits As MeasurementUnits
 

Property Value

Integer.
Remarks
This property influences how dimensions are displayed and interpreted throughout the design process. Changing the measurement units can be useful for adapting the designer to different regional settings or user preferences. It's important to ensure that the value set is valid within the MeasurementUnits enumeration.
Example
private void designer1_Load(object sender, System.EventArgs e)
{
    this.designer1.DesignerUnits = GrapeCity.ActiveReports.Design.MeasurementUnits.Inches;
    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.ToolBoxItem = Nothing
End Sub
See Also

Reference

Designer Class
Designer Members
GrapeCity.ActiveReports.Design.Win~GrapeCity.ActiveReports.Design.MeasurementUnits