/// <summary>Creates an ink sticky note annotation on the current selection of the viewer control associated with the specified <see cref="T:System.Windows.Annotations.AnnotationService" />..</summary> /// <param name="service">The annotation service to use to create the ink sticky note annotation.</param> /// <param name="author">The author of the annotation.</param> /// <returns>The ink sticky note annotation; or <see langword="null" />, if there is no selected content to annotate.</returns> /// <exception cref="T:System.ArgumentNullException"> /// <paramref name="service" /> is <see langword="null" />.</exception> /// <exception cref="T:System.ArgumentException"> /// <paramref name="service" /> is not enabled.</exception> /// <exception cref="T:System.InvalidOperationException">The viewer control contains no content selection.</exception> // Token: 0x060062BD RID: 25277 RVA: 0x001BB1F6 File Offset: 0x001B93F6 public static Annotation CreateInkStickyNoteForSelection(AnnotationService service, string author) { return(AnnotationHelper.CreateStickyNoteForSelection(service, StickyNoteControl.InkSchemaName, author)); }