[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutRect.AnchorBottomLeft

AnchorBottomLeft Method

AnchorBottomLeft(LayoutRect, float, float)

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

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

Declaration
public void AnchorBottomLeft(LayoutRect anchorRect, float paddingBottom, float paddingLeft)
Public Sub AnchorBottomLeft(anchorRect As LayoutRect, paddingBottom As Single, paddingLeft 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.

AnchorBottomLeft(LayoutRect, float, float, float, float)

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

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

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

float width

The proposed width.

float height

The proposed height.