skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class AnnotationCollection

Page annotations API for adding links, text markups, stamps, and other interactive elements to a PDF page.

Inheritance
System.Object
DocumentElementCollectionBase<Annotation, RadFixedPage>
DocumentElementCollection<Annotation, RadFixedPage>
AnnotationCollection
Inherited Members
DocumentElementCollection<Annotation, RadFixedPage>.SetParent(Annotation, RadFixedPage)
DocumentElementCollection<Annotation, RadFixedPage>.VerifyDocumentElementOnInsert(Annotation)
DocumentElementCollectionBase<Annotation, RadFixedPage>.GetEnumerator()
DocumentElementCollectionBase<Annotation, RadFixedPage>.IndexOf(Annotation)
DocumentElementCollectionBase<Annotation, RadFixedPage>.Insert(Int32, Annotation)
DocumentElementCollectionBase<Annotation, RadFixedPage>.InsertRange(Int32, IEnumerable<Annotation>)
DocumentElementCollectionBase<Annotation, RadFixedPage>.RemoveAt(Int32)
DocumentElementCollectionBase<Annotation, RadFixedPage>.RemoveRange(Int32, Int32)
DocumentElementCollectionBase<Annotation, RadFixedPage>.OnAfterAdd(Annotation)
DocumentElementCollectionBase<Annotation, RadFixedPage>.OnAfterRemove(Annotation)
DocumentElementCollectionBase<Annotation, RadFixedPage>.Clear()
DocumentElementCollectionBase<Annotation, RadFixedPage>.Contains(Annotation)
DocumentElementCollectionBase<Annotation, RadFixedPage>.CopyTo(Annotation[], Int32)
DocumentElementCollectionBase<Annotation, RadFixedPage>.Remove(Annotation)
DocumentElementCollectionBase<Annotation, RadFixedPage>.IEnumerable.GetEnumerator()
DocumentElementCollectionBase<Annotation, RadFixedPage>.Add(Annotation)
DocumentElementCollectionBase<Annotation, RadFixedPage>.Count
DocumentElementCollectionBase<Annotation, RadFixedPage>.ICollection<Annotation>.IsReadOnly
DocumentElementCollectionBase<Annotation, RadFixedPage>.Owner
DocumentElementCollectionBase<Annotation, RadFixedPage>.Item[Int32]
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Fixed.Model.Collections
Assembly: Telerik.Windows.Documents.Fixed.dll

Syntax

public sealed class AnnotationCollection : DocumentElementCollection<Annotation, RadFixedPage>, IList<Annotation>, ICollection<Annotation>, IEnumerable<Annotation>, IEnumerable

Constructors

AnnotationCollection(RadFixedPage)

Create an annotations collection for the specified page and manage interactive PDF annotations.

Declaration
public AnnotationCollection(RadFixedPage parent)
Parameters
RadFixedPage parent

The parent.

Methods

AddHighlight(Rect)

Add a highlight annotation to emphasize text or content with a background highlight.

Declaration
public TextMarkupAnnotation AddHighlight(Rect rect)
Parameters
System.Windows.Rect rect

The rectangle defining the area to highlight in page coordinates.

Returns
TextMarkupAnnotation

The created highlight annotation.

AddLine(Point, Point)

Add a line annotation that draws a straight line between two points.

Declaration
public LineAnnotation AddLine(Point start, Point end)
Parameters
System.Windows.Point start

The starting point of the line in page coordinates.

System.Windows.Point end

The ending point of the line in page coordinates.

Returns
LineAnnotation

The created line annotation.

AddLink(Action)

Add a link annotation that executes the specified action when activated.

Declaration
public Link AddLink(Action action)
Parameters
Action action

The action to execute when the link is clicked.

Returns
Link

The newly created link annotation.

AddLink(Destination)

Add a link annotation that navigates to the specified destination within the document.

Declaration
public Link AddLink(Destination destination)
Parameters
Destination destination

The document destination to navigate to when the link is clicked.

Returns
Link

The newly created link annotation.

AddLink(NamedDestination)

Add a link annotation that navigates to the given named destination within the document.

Declaration
public Link AddLink(NamedDestination namedDestination)
Parameters
NamedDestination namedDestination

The named destination to navigate to when the link is clicked.

Returns
Link

The newly created link annotation.

AddPopup(MarkupAnnotation)

Add a popup annotation that displays additional content for a parent markup annotation.

Declaration
public PopupAnnotation AddPopup(MarkupAnnotation parent)
Parameters
MarkupAnnotation parent

The parent markup annotation that this popup will be associated with.

Returns
PopupAnnotation

The created popup annotation.

AddSquiggly(Rect)

Add a squiggly underline annotation to mark text with a wavy underline.

Declaration
public TextMarkupAnnotation AddSquiggly(Rect rect)
Parameters
System.Windows.Rect rect

The rectangle defining the bounds of the squiggly underline in page coordinates.

Returns
TextMarkupAnnotation

The newly created squiggly underline annotation.

AddStamp(Rect)

Add a stamp annotation that displays a rubber stamp-like visual or text.

Declaration
public StampAnnotation AddStamp(Rect rect)
Parameters
System.Windows.Rect rect

The rectangle defining the area for the stamp in page coordinates.

Returns
StampAnnotation

The created stamp annotation.

AddStrikeout(Rect)

Add a strikeout annotation to draw a line through text.

Declaration
public TextMarkupAnnotation AddStrikeout(Rect rect)
Parameters
System.Windows.Rect rect

The rectangle defining the area to strike out in page coordinates.

Returns
TextMarkupAnnotation

The created strikeout annotation.

AddText(Rect)

Add a text annotation that shows a pop-up note when activated.

Declaration
public TextAnnotation AddText(Rect rect)
Parameters
System.Windows.Rect rect

The rectangle defining the clickable area for the text annotation in page coordinates.

Returns
TextAnnotation

The created text annotation.

AddUnderline(Rect)

Add an underline annotation to draw a straight underline beneath text.

Declaration
public TextMarkupAnnotation AddUnderline(Rect rect)
Parameters
System.Windows.Rect rect

The rectangle defining the area to underline in page coordinates.

Returns
TextMarkupAnnotation

The created underline annotation.

OnAfterAdd(Annotation)

Executes the action after the item is added to the collection.

Declaration
protected override void OnAfterAdd(Annotation item)
Parameters
Annotation item

The annotation that has been added to the collection.

Overrides
Telerik.Windows.Documents.Core.Data.DocumentElementCollectionBase<Telerik.Windows.Documents.Fixed.Model.Annotations.Annotation, Telerik.Windows.Documents.Fixed.Model.RadFixedPage>.OnAfterAdd(Telerik.Windows.Documents.Fixed.Model.Annotations.Annotation)

OnAfterRemove(Annotation)

Executes the action after the item is removed from the collection.

Declaration
protected override void OnAfterRemove(Annotation item)
Parameters
Annotation item

The annotation that has been removed from the collection.

Overrides
Telerik.Windows.Documents.Core.Data.DocumentElementCollectionBase<Telerik.Windows.Documents.Fixed.Model.Annotations.Annotation, Telerik.Windows.Documents.Fixed.Model.RadFixedPage>.OnAfterRemove(Telerik.Windows.Documents.Fixed.Model.Annotations.Annotation)
Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.