AnnotationHelper Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides utility methods and commands to create and delete highlight, ink sticky note, and text sticky note annotations.
public ref class AnnotationHelper abstract sealed
public static class AnnotationHelper
type AnnotationHelper = class
Public Class AnnotationHelper
- Inheritance
-
AnnotationHelper
Methods
ClearHighlightsForSelection(AnnotationService) |
Clears all highlight annotations from the current selection of the viewer control associated with the given AnnotationService. |
CreateHighlightForSelection(AnnotationService, String, Brush) |
Creates a highlight annotation on the current selection of the viewer control associated with the specified AnnotationService. |
CreateInkStickyNoteForSelection(AnnotationService, String) |
Creates an ink sticky note annotation on the current selection of the viewer control associated with the specified AnnotationService. |
CreateTextStickyNoteForSelection(AnnotationService, String) |
Creates a text sticky note annotation on the current selection of the viewer control associated with the specified AnnotationService. |
DeleteInkStickyNotesForSelection(AnnotationService) |
Deletes ink sticky note annotations that are wholly contained within the current selection of the viewer control associated with the given AnnotationService. |
DeleteTextStickyNotesForSelection(AnnotationService) |
Deletes text sticky note annotations that are wholly contained within the current selection of the viewer control associated with the given AnnotationService. |
GetAnchorInfo(AnnotationService, Annotation) |
Returns an IAnchorInfo object that provides anchoring information, such as the anchor location, about the specified annotation. |
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기