[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutRect.AppendMaxRight

AppendMaxRight Method

AppendMaxRight(LayoutRect, AnchorParam, float)

Adds a MaxRight constraint relative to anchorRect.

Declaration
public PositionConstraint AppendMaxRight(LayoutRect anchorRect, AnchorParam anchorParam, float offset = 0)
Public Function AppendMaxRight(anchorRect As LayoutRect, anchorParam As AnchorParam, Optional offset As Single = 0) As PositionConstraint
Parameters
Type Name Description
LayoutRect anchorRect

The referenced LayoutRect or null to reference the owner LayoutView.

AnchorParam anchorParam

The source parameter of the anchorRect.

float offset

An increment to the value of the source parameter.

Returns
Type Description
PositionConstraint

New constraint just added.

AppendMaxRight(AnchorPoint, float)

Adds a MaxRight constraint relative to anchorPoint.

Declaration
public PositionConstraint AppendMaxRight(AnchorPoint anchorPoint, float offset = 0)
Public Function AppendMaxRight(anchorPoint As AnchorPoint, Optional offset As Single = 0) As PositionConstraint
Parameters
Type Name Description
AnchorPoint anchorPoint

The referenced AnchorPoint.

float offset

An increment to the position of anchorPoint.

Returns
Type Description
PositionConstraint

New constraint just added.

AppendMaxRight(Contour, ContourPosition)

Adds a MaxRight constraint relative to contour.

Declaration
public ContourConstraint AppendMaxRight(Contour contour, ContourPosition contourPosition)
Public Function AppendMaxRight(contour As Contour, contourPosition As ContourPosition) As ContourConstraint
Parameters
Type Name Description
Contour contour

The referenced Contour.

ContourPosition contourPosition

The position of anchor for the contour constraint.

Returns
Type Description
ContourConstraint

New constraint just added.