[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutRect.SetBottomAndOpposite

SetBottomAndOpposite Method

SetBottomAndOpposite(LayoutRect, AnchorParam, float)

Adds a Bottom constraint relative to anchorRect and the corresponding opposite constraint.

Declaration
public PositionConstraint SetBottomAndOpposite(LayoutRect anchorRect, AnchorParam anchorParam, float offset = 0)
Public Function SetBottomAndOpposite(anchorRect As LayoutRect, anchorParam As AnchorParam, Optional offset As Single = 0) As PositionConstraint
Parameters
Type Name Description
LayoutRect anchorRect

The referenced LayoutRect.

AnchorParam anchorParam

The source parameter of the anchorRect.

float offset

An increment to the value of the source parameter.

Returns
Type Description
PositionConstraint

New constraint just added.