Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutRect Class / AnchorTopBottom Method / AnchorTopBottom(LayoutRect,Single,Single) Method
The referenced LayoutRect or a null reference (Nothing in Visual Basic) to reference the owner LayoutView.
The inner padding relative to the top side of the anchorRect.
The inner padding relative to the bottom side of the anchorRect.

In This Topic
    AnchorTopBottom(LayoutRect,Single,Single) Method
    In This Topic
    Anchors a LayoutRect to the top and bottom sides and rotation angle of anchorRect.

    The left and right sides are not fixed and require additional constraints.

    Syntax
    'Declaration
     
    Public Overloads Sub AnchorTopBottom( _
       ByVal anchorRect As LayoutRect, _
       ByVal paddingTop As System.Single, _
       ByVal paddingBottom As System.Single _
    ) 
    public void AnchorTopBottom( 
       LayoutRect anchorRect,
       System.float paddingTop,
       System.float paddingBottom
    )

    Parameters

    anchorRect
    The referenced LayoutRect or a null reference (Nothing in Visual Basic) to reference the owner LayoutView.
    paddingTop
    The inner padding relative to the top side of the anchorRect.
    paddingBottom
    The inner padding relative to the bottom side of the anchorRect.
    See Also