Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutRect Class / AnchorLeftRight Method / AnchorLeftRight(LayoutRect,Single,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 left side of the anchorRect.
The inner padding relative to the right side of the anchorRect.
The proposed height.

In This Topic
    AnchorLeftRight(LayoutRect,Single,Single,Single) Method
    In This Topic
    Anchors a LayoutRect to the left and right sides and rotation angle of anchorRect and sets the height.

    The vertical position is not fixed and requires an additional constraint.

    Syntax
    'Declaration
     
    Public Overloads Sub AnchorLeftRight( _
       ByVal anchorRect As LayoutRect, _
       ByVal paddingLeft As System.Single, _
       ByVal paddingRight As System.Single, _
       ByVal height As System.Single _
    ) 
    public void AnchorLeftRight( 
       LayoutRect anchorRect,
       System.float paddingLeft,
       System.float paddingRight,
       System.float height
    )

    Parameters

    anchorRect
    The referenced LayoutRect or a null reference (Nothing in Visual Basic) to reference the owner LayoutView.
    paddingLeft
    The inner padding relative to the left side of the anchorRect.
    paddingRight
    The inner padding relative to the right side of the anchorRect.
    height
    The proposed height.
    See Also