Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutRect Class / SetTop Method / SetTop(LayoutRect,AnchorParam,Single) Method
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
    SetTop(LayoutRect,AnchorParam,Single) Method
    In This Topic
    Adds a Top constraint relative to anchorRect.
    Syntax
    'Declaration
     
    Public Overloads Function SetTop( _
       ByVal anchorRect As LayoutRect, _
       ByVal anchorParam As AnchorParam, _
       Optional ByVal offset As System.Single _
    ) As PositionConstraint
    public PositionConstraint SetTop( 
       LayoutRect anchorRect,
       AnchorParam anchorParam,
       System.float offset
    )

    Parameters

    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