Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutRect Class / AnchorTopLeft Method / AnchorTopLeft(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 left side of the anchorRect.

In This Topic
    AnchorTopLeft(LayoutRect,Single,Single) Method
    In This Topic
    Anchors a LayoutRect to the top left corner and rotation angle of anchorRect.

    The bottom right corner is not fixed and requires additional constraints.

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

    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.
    paddingLeft
    The inner padding relative to the left side of the anchorRect.
    See Also