Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutRect Class / AppendPositionConstraint Method / AppendPositionConstraint(TargetParam,LayoutRect,AnchorParam,Single) Method
The target parameter of the current LayoutRect.
The referenced LayoutRect or a null reference (Nothing in Visual Basic) to reference the owner LayoutView.
The source parameter of the anchorRect.
An increment to the value of the source parameter.

In This Topic
    AppendPositionConstraint(TargetParam,LayoutRect,AnchorParam,Single) Method
    In This Topic
    Adds a PositionConstraint relative to anchorRect.
    Syntax
    'Declaration
     
    Public Overloads Function AppendPositionConstraint( _
       ByVal targetParam As TargetParam, _
       ByVal anchorRect As LayoutRect, _
       ByVal anchorParam As AnchorParam, _
       Optional ByVal offset As System.Single _
    ) As PositionConstraint
    public PositionConstraint AppendPositionConstraint( 
       TargetParam targetParam,
       LayoutRect anchorRect,
       AnchorParam anchorParam,
       System.float offset
    )

    Parameters

    targetParam
    The target parameter of the current LayoutRect.
    anchorRect
    The referenced LayoutRect or a null reference (Nothing in Visual Basic) to reference the owner LayoutView.
    anchorParam
    The source parameter of the anchorRect.
    offset
    An increment to the value of the source parameter.

    Return Value

    New constraint just added.
    See Also