PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.5.2 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / AddAnchor Method

In This Topic
    AddAnchor Method (SampleC1PrintDocument)
    In This Topic
    Adds an anchor (C1.C1Preview.C1Anchor or C1.C1Preview.C1AnchorText) at the current position in the document. Can be used only if C1.C1Preview.C1PrintDocument.IsStartEndDocMode is true.
    Overload List
    OverloadDescription
    Adds an anchor (C1.C1Preview.C1Anchor or C1.C1Preview.C1AnchorText) at the current position in the document. Can be used only if C1.C1Preview.C1PrintDocument.IsStartEndDocMode is true. (Inherited from C1.C1Preview.C1PrintDocument)
    Adds an anchor (C1.C1Preview.C1Anchor or C1.C1Preview.C1AnchorText) at the current position in the document. Can be used only if C1.C1Preview.C1PrintDocument.IsStartEndDocMode is true.

    This method is equivalent to C1.C1Preview.C1PrintDocument.AddAnchor with the last parameter (user data) specified as null value.

    (Inherited from C1.C1Preview.C1PrintDocument)
    Adds an anchor (C1.C1Preview.C1Anchor or C1.C1Preview.C1AnchorText) at the current position in the document. Can be used only if C1.C1Preview.C1PrintDocument.IsStartEndDocMode is true.

    This method is equivalent to C1.C1Preview.C1PrintDocument.AddAnchor with the last two parameters (description and user data) specified as null values.

    (Inherited from C1.C1Preview.C1PrintDocument)
    See Also