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

In This Topic
    AnchorTopRight(LayoutRect,Single,Single,Single,Single) Method
    In This Topic
    Anchors a LayoutRect to the top right corner and rotation angle of anchorRect and sets width/height.
    Syntax
    'Declaration
     
    Public Overloads Sub AnchorTopRight( _
       ByVal anchorRect As LayoutRect, _
       ByVal paddingTop As System.Single, _
       ByVal paddingRight As System.Single, _
       ByVal width As System.Single, _
       ByVal height As System.Single _
    ) 
    public void AnchorTopRight( 
       LayoutRect anchorRect,
       System.float paddingTop,
       System.float paddingRight,
       System.float width,
       System.float height
    )

    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.
    paddingRight
    The inner padding relative to the right side of the anchorRect.
    width
    The proposed width.
    height
    The proposed height.
    See Also