PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / AddAnchor Method / AddAnchor(String) Method
A string assigned to the Name of the anchor.

In This Topic
    AddAnchor(String) Method
    In This Topic
    Adds an anchor (C1Anchor or C1AnchorText) at the current position in the document. Can be used only if IsStartEndDocMode is true.

    This method is equivalent to AddAnchor(String,String,Object) with the last two parameters (description and user data) specified as null values.

    Syntax
    'Declaration
     
    Public Overloads Sub AddAnchor( _
       ByVal name As String _
    ) 
    public void AddAnchor( 
       string name
    )

    Parameters

    name
    A string assigned to the Name of the anchor.
    See Also