PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / FindAnchor Method
The name to search for.

In This Topic
    FindAnchor Method (SampleC1PrintDocument)
    In This Topic
    Searches for an C1.C1Preview.C1Anchor with the specified C1.C1Preview.C1Anchor.Name in the current document.
    Syntax
    'Declaration
     
    Public Function FindAnchor( _
       ByVal anchorName As String _
    ) As C1AnchorInfo
    public C1AnchorInfo FindAnchor( 
       string anchorName
    )

    Parameters

    anchorName
    The name to search for.

    Return Value

    A C1.C1Preview.C1AnchorInfo object containing information about the found anchor, or null if none was found.
    See Also