[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutRect.AppendMaxHeight

AppendMaxHeight Method

AppendMaxHeight(float)

Adds a MaxHeight constraint.

Declaration
public SizeConstraint AppendMaxHeight(float maxHeight)
Public Function AppendMaxHeight(maxHeight As Single) As SizeConstraint
Parameters
Type Name Description
float maxHeight

The proposed maximum height.

Returns
Type Description
SizeConstraint

New constraint just added.

AppendMaxHeight(LayoutRect, AnchorParam, float, float)

Adds a MaxHeight constraint relative to anchorRect.

Declaration
public SizeConstraint AppendMaxHeight(LayoutRect anchorRect, AnchorParam anchorParam, float delta = 0, float multiplier = 1)
Public Function AppendMaxHeight(anchorRect As LayoutRect, anchorParam As AnchorParam, Optional delta As Single = 0, Optional multiplier As Single = 1) As SizeConstraint
Parameters
Type Name Description
LayoutRect anchorRect

The referenced LayoutRect or null to reference the owner LayoutView.

AnchorParam anchorParam

The source parameter of the anchorRect.

float delta

An increment to the value of the source (anchor) parameter.

float multiplier

A multiplier to the value of the source parameter; applied before adding the delta.

Returns
Type Description
SizeConstraint

New constraint just added.

AppendMaxHeight(AnchorPoint, AnchorPoint, float, float)

Adds a MaxHeight constraint relative to the distance between anchorPoint1 and anchorPoint2.

Declaration
public SizeConstraint AppendMaxHeight(AnchorPoint anchorPoint1, AnchorPoint anchorPoint2, float delta = 0, float multiplier = 1)
Public Function AppendMaxHeight(anchorPoint1 As AnchorPoint, anchorPoint2 As AnchorPoint, Optional delta As Single = 0, Optional multiplier As Single = 1) As SizeConstraint
Parameters
Type Name Description
AnchorPoint anchorPoint1

The first referenced AnchorPoint.

AnchorPoint anchorPoint2

The second referenced AnchorPoint.

float delta

An increment to the value of the source distance.

float multiplier

A multiplier to the value of the source distance; applied before adding the delta.

Returns
Type Description
SizeConstraint

New constraint just added.