[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutRect.AnchorBottomRight

AnchorBottomRight Method

AnchorBottomRight(LayoutRect, float, float)

Anchors a LayoutRect to the bottom right corner and rotation angle of anchorRect.

The top left corner is not fixed and requires additional constraints.

Declaration
public void AnchorBottomRight(LayoutRect anchorRect, float paddingBottom, float paddingRight)
Public Sub AnchorBottomRight(anchorRect As LayoutRect, paddingBottom 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 paddingRight

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

AnchorBottomRight(LayoutRect, float, float, float, float)

Anchors a LayoutRect to the bottom right corner and rotation angle of anchorRect and sets width/height.

Declaration
public void AnchorBottomRight(LayoutRect anchorRect, float paddingBottom, float paddingRight, float width, float height)
Public Sub AnchorBottomRight(anchorRect As LayoutRect, paddingBottom As Single, paddingRight As Single, width 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 paddingRight

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

float width

The proposed width.

float height

The proposed height.