PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / RenderObjectCollection Class / FindByAnchorName Method
The name of the anchor to search for.
OUT: contains the C1Anchor object with the specified name.

In This Topic
    FindByAnchorName Method (RenderObjectCollection)
    In This Topic
    Searches the current collection for an object that contains an anchor with the specified name in its Anchors collection.
    Syntax
    'Declaration
     
    Public Function FindByAnchorName( _
       ByVal anchorName As String, _
       ByRef anchor As C1Anchor _
    ) As RenderObject
    public RenderObject FindByAnchorName( 
       string anchorName,
       out C1Anchor anchor
    )

    Parameters

    anchorName
    The name of the anchor to search for.
    anchor
    OUT: contains the C1Anchor object with the specified name.

    Return Value

    Returns the found render object or null if not found.The object containing the specified anchor, or null if no object was found.
    See Also