FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.4.5.2 Assembly / C1.Win.FlexReport Namespace / Field Class / Height Property

In This Topic
    Height Property (Field)
    In This Topic
    Gets or sets the height of the field in twips.
    Syntax
    'Declaration
     
    Public Property Height As Double
    public double Height {get; set;}
    Remarks

    Every FieldBase object has a rectangle, or "field box", where the field contents are rendered.

    The field box is defined by the FieldBase.Left, FieldBase.Top, FieldBase.Width, and FieldBase.Height properties.

    These properties are expressed in twips, and the position is relative to the field's containing section.

    The field's FieldBase.Height property should be set to a value larger than or equal to the height of the field's System.Drawing.Font, or no text will appear in the field.

    If the field's FieldBase.AutoHeight property are set to true, the control will automatically adjust the FieldBase.RenderHeight property to fit the field's contents and the FieldBase.RenderTop property of fields below the current field to preserve the vertical distance between fields. The value of the FieldBase.Top and FieldBase.Height properties is not affected.

    See Also