AnnotationHelper.DeleteTextStickyNotesForSelection(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 text sticky note annotations that are wholly contained within the current selection of the viewer control associated with the given 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)
Parameters
- service
- AnnotationService
The annotation service from which to delete text 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 text sticky note annotations, DeleteTextStickyNotesForSelection performs no operation.
The given annotation service
must be enabled by means of a call to AnnotationService.Enable prior to calling DeleteTextStickyNotesForSelection.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示