Class AnnotationCollection
Represents annotations collection.
Inheritance
Inherited Members
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)
Initializes a new instance of the Annotation
Declaration
public AnnotationCollection(RadFixedPage parent)
Parameters
Rad The parent. |
Methods
AddHighlight(Rect)
Creates and adds a highlight annotation.
Declaration
public TextMarkupAnnotation AddHighlight(Rect rect)
Parameters
System. The rectangle where the highlight annotation should be added. |
Returns
Text The created annotation |
AddLine(Point, Point)
Creates an adds a line annotation.
Declaration
public LineAnnotation AddLine(Point start, Point end)
Parameters
System. The starting point of the line. |
System. The ending point of the line. |
Returns
Line The created annotation. |
AddLink(Action)
Adds the link.
Declaration
public Link AddLink(Action action)
Parameters
Action
action
The action. |
Returns
AddLink(Destination)
AddLink(NamedDestination)
AddPopup(MarkupAnnotation)
Creates and adds a popup annotation.
Declaration
public PopupAnnotation AddPopup(MarkupAnnotation parent)
Parameters
Markup The parent associated with the popup annotation. |
Returns
Popup The created annotation. |
AddSquiggly(Rect)
Adds a squiggly underline annotation.
Declaration
public TextMarkupAnnotation AddSquiggly(Rect rect)
Parameters
System.
|
Returns
AddStamp(Rect)
Creates and adds a stamp annotation.
Declaration
public StampAnnotation AddStamp(Rect rect)
Parameters
System. The rectangle where the stamp annotation should be added. |
Returns
Stamp The created annotation. |
AddStrikeout(Rect)
Creates and adds a strikeout annotation.
Declaration
public TextMarkupAnnotation AddStrikeout(Rect rect)
Parameters
System. The rectangle where the strikeout annotation should be added. |
Returns
Text The created annotation. |
AddText(Rect)
Creates and adds a text annotation.
Declaration
public TextAnnotation AddText(Rect rect)
Parameters
System. The rectangle where the text annotation should be added. |
Returns
Text The created annotation. |
AddUnderline(Rect)
Creates and adds an underline annotation.
Declaration
public TextMarkupAnnotation AddUnderline(Rect rect)
Parameters
System. The rectangle where the underline annotation should be added. |
Returns
Text The created annotation. |