[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutRect.AnchorDeflate

AnchorDeflate Method

AnchorDeflate(LayoutRect, float)

Deflates a LayoutRect relative to anchorRect.

Declaration
public void AnchorDeflate(LayoutRect anchorRect, float deflateAmount)
Public Sub AnchorDeflate(anchorRect As LayoutRect, deflateAmount As Single)
Parameters
Type Name Description
LayoutRect anchorRect

The referenced LayoutRect or null to reference the owner LayoutView.

float deflateAmount

The amount to deflate the bounds relative to anchorRect.

AnchorDeflate(LayoutRect, float, float)

Deflates a LayoutRect relative to anchorRect.

Declaration
public void AnchorDeflate(LayoutRect anchorRect, float deflateHorizontal, float deflateVertical)
Public Sub AnchorDeflate(anchorRect As LayoutRect, deflateHorizontal As Single, deflateVertical As Single)
Parameters
Type Name Description
LayoutRect anchorRect

The referenced LayoutRect or null to reference the owner LayoutView.

float deflateHorizontal

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

float deflateVertical

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

AnchorDeflate(LayoutRect, float, float, float, float)

Deflates a LayoutRect relative to anchorRect.

Declaration
public void AnchorDeflate(LayoutRect anchorRect, float deflateLeft, float deflateTop, float deflateRight, float deflateBottom)
Public Sub AnchorDeflate(anchorRect As LayoutRect, deflateLeft As Single, deflateTop As Single, deflateRight As Single, deflateBottom As Single)
Parameters
Type Name Description
LayoutRect anchorRect

The referenced LayoutRect or null to reference the owner LayoutView.

float deflateLeft

The amount to deflate the left bound relative to anchorRect.

float deflateTop

The amount to deflate the top bound relative to anchorRect.

float deflateRight

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

float deflateBottom

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