This documentation is archived and is not being maintained.
AnnotationHelper Class
Visual Studio 2010
Provides utility methods and commands to create and delete highlight, ink sticky note, and text sticky note 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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
