[]
        
(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)
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)
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)
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.