Прочетете на английски Редактиране

Споделяне чрез


AnnotationHelper.DeleteInkStickyNotesForSelection(AnnotationService) Method

Definition

Deletes ink sticky note annotations that are wholly contained within the current selection of the viewer control associated with the given AnnotationService.

C#
public static void DeleteInkStickyNotesForSelection(System.Windows.Annotations.AnnotationService service);

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

Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also