AnnotationHelper Class
.NET Framework 4.5
Provides utility methods and commands to create and delete highlight, ink sticky note, and text sticky note annotations.
Namespace:
System.Windows.Annotations
Assembly: PresentationFramework (in PresentationFramework.dll)
The AnnotationHelper type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | ClearHighlightsForSelection | Clears all highlight annotations from the current selection of the viewer control associated with the given AnnotationService. |
![]() ![]() | CreateHighlightForSelection | Creates a highlight annotation on the current selection of the viewer control associated with the specified AnnotationService. |
![]() ![]() | CreateInkStickyNoteForSelection | Creates an ink sticky note annotation on the current selection of the viewer control associated with the specified AnnotationService.. |
![]() ![]() | CreateTextStickyNoteForSelection | Creates a text sticky note annotation on the current selection of the viewer control associated with the specified AnnotationService. |
![]() ![]() | DeleteInkStickyNotesForSelection | Deletes ink sticky note annotations that are wholly contained within the current selection of the viewer control associated with the given AnnotationService. |
![]() ![]() | DeleteTextStickyNotesForSelection | Deletes text sticky note annotations that are wholly contained within the current selection of the viewer control associated with the given AnnotationService. |
![]() ![]() | GetAnchorInfo | Returns an IAnchorInfo object that provides anchoring information, such as the anchor location, about the specified annotation. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
