[]
        
(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)
Public Sub AnchorInflate(anchorRect As LayoutRect, inflateAmount As Single)
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)
Public Sub AnchorInflate(anchorRect As LayoutRect, inflateHorizontal As Single, inflateVertical As Single)
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)
Public Sub AnchorInflate(anchorRect As LayoutRect, inflateLeft As Single, inflateTop As Single, inflateRight As Single, inflateBottom As Single)
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.