AnnotationHelper.DeleteInkStickyNotesForSelection(AnnotationService) Method
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.
Deletes ink sticky note annotations that are wholly contained within the current selection of the viewer control associated with the given AnnotationService.
public:
static void DeleteInkStickyNotesForSelection(System::Windows::Annotations::AnnotationService ^ service);
public static void DeleteInkStickyNotesForSelection (System.Windows.Annotations.AnnotationService service);
static member DeleteInkStickyNotesForSelection : System.Windows.Annotations.AnnotationService -> unit
Public Shared Sub DeleteInkStickyNotesForSelection (service As AnnotationService)
Parameters
- service
- AnnotationService
The annotation service from which to delete ink sticky note annotations.
Exceptions
service
is null
.
service
is not enabled.
Remarks
If the viewer control associated with the AnnotationService contains no user selection or the user selection does not wholly contain any ink sticky note annotations, DeleteInkStickyNotesForSelection performs no operation.
The given annotation service
must be enabled by means of a call to AnnotationService.Enable prior to calling DeleteInkStickyNotesForSelection.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈