Reports for WinForms | ComponentOne
C1.C1Report.CustomFields.4 Assembly / C1.C1Report.CustomFields Namespace / Gradient Class / Height Property

In This Topic
    Height Property (Gradient)
    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 C1.C1Report.Field object has a rectangle, or "field box", where the field contents are rendered.

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

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

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

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

    See Also