[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutRect.AnchorBottomLeftRight

AnchorBottomLeftRight Method

AnchorBottomLeftRight(LayoutRect, float, float, float)

Anchors a LayoutRect to the bottom, left, right sides and rotation angle of anchorRect.

The top side is not fixed and requires an additional constraint.

Declaration
public void AnchorBottomLeftRight(LayoutRect anchorRect, float paddingBottom, float paddingLeft, float paddingRight)
Public Sub AnchorBottomLeftRight(anchorRect As LayoutRect, paddingBottom As Single, paddingLeft As Single, paddingRight As Single)
Parameters
Type Name Description
LayoutRect anchorRect

The referenced LayoutRect or null to reference the owner LayoutView.

float paddingBottom

The inner padding relative to the bottom side of the anchorRect.

float paddingLeft

The inner padding relative to the left side of the anchorRect.

float paddingRight

The inner padding relative to the right side of the anchorRect.

AnchorBottomLeftRight(LayoutRect, float, float, float, float)

Anchors a LayoutRect to the bottom, left, right sides and rotation angle of anchorRect and sets the height.

Declaration
public void AnchorBottomLeftRight(LayoutRect anchorRect, float paddingBottom, float paddingLeft, float paddingRight, float height)
Public Sub AnchorBottomLeftRight(anchorRect As LayoutRect, paddingBottom As Single, paddingLeft As Single, paddingRight As Single, height As Single)
Parameters
Type Name Description
LayoutRect anchorRect

The referenced LayoutRect or null to reference the owner LayoutView.

float paddingBottom

The inner padding relative to the bottom side of the anchorRect.

float paddingLeft

The inner padding relative to the left side of the anchorRect.

float paddingRight

The inner padding relative to the right side of the anchorRect.

float height

The proposed height.