AnnotationHelper.DeleteTextStickyNotesForSelection(AnnotationService) Método

Definición

Elimina las anotaciones de nota pegajosa de texto que están totalmente contenidas en la selección actual del control del visor asociado a la clase especificada AnnotationService.

public:
 static void DeleteTextStickyNotesForSelection(System::Windows::Annotations::AnnotationService ^ service);
public static void DeleteTextStickyNotesForSelection(System.Windows.Annotations.AnnotationService service);
static member DeleteTextStickyNotesForSelection : System.Windows.Annotations.AnnotationService -> unit
Public Shared Sub DeleteTextStickyNotesForSelection (service As AnnotationService)

Parámetros

service
AnnotationService

Servicio de anotación del que se van a eliminar anotaciones de notas permanentes de texto.

Excepciones

service es null.

service no está habilitado.

Comentarios

Si el control de visor asociado a AnnotationService no contiene ninguna selección de usuario o la selección del usuario no contiene completamente ninguna anotación de nota pegajosa de texto, DeleteTextStickyNotesForSelection no realiza ninguna operación.

La anotación service especificada debe habilitarse mediante una llamada a antes AnnotationService.Enable de llamar DeleteTextStickyNotesForSelectiona .

Se aplica a

Consulte también