[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutRect.AnchorInflate

AnchorInflate Method

AnchorInflate(LayoutRect, float)

Inflates a LayoutRect relative to anchorRect.

Declaration
public void AnchorInflate(LayoutRect anchorRect, float inflateAmount)
Parameters
Type Name Description
LayoutRect anchorRect

The referenced LayoutRect or null to reference the owner LayoutView.

float inflateAmount

The amount to inflate the bounds relative to anchorRect.

AnchorInflate(LayoutRect, float, float)

Inflates a LayoutRect relative to anchorRect.

Declaration
public void AnchorInflate(LayoutRect anchorRect, float inflateHorizontal, float inflateVertical)
Parameters
Type Name Description
LayoutRect anchorRect

The referenced LayoutRect or null to reference the owner LayoutView.

float inflateHorizontal

The amount to inflate the left and right bounds relative to anchorRect.

float inflateVertical

The amount to inflate the top and bottom bounds relative to anchorRect.

AnchorInflate(LayoutRect, float, float, float, float)

Inflates a LayoutRect relative to anchorRect.

Declaration
public void AnchorInflate(LayoutRect anchorRect, float inflateLeft, float inflateTop, float inflateRight, float inflateBottom)
Parameters
Type Name Description
LayoutRect anchorRect

The referenced LayoutRect or null to reference the owner LayoutView.

float inflateLeft

The amount to inflate the left bound relative to anchorRect.

float inflateTop

The amount to inflate the top bound relative to anchorRect.

float inflateRight

The amount to inflate the left and right bounds relative to anchorRect.

float inflateBottom

The amount to inflate the top and bottom bounds relative to anchorRect.