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