Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutRect Class / SetTopAndOpposite Method
The referenced LayoutRect.
The source parameter of the anchorRect.
An increment to the value of the source parameter.

In This Topic
    SetTopAndOpposite Method
    In This Topic
    Adds a Top constraint relative to anchorRect and the corresponding opposite constraint.
    Syntax
    'Declaration
     
    Public Function SetTopAndOpposite( _
       ByVal anchorRect As LayoutRect, _
       ByVal anchorParam As AnchorParam, _
       Optional ByVal offset As System.Single _
    ) As PositionConstraint
    public PositionConstraint SetTopAndOpposite( 
       LayoutRect anchorRect,
       AnchorParam anchorParam,
       System.float offset
    )

    Parameters

    anchorRect
    The referenced LayoutRect.
    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