Пример #1
0
 /// <summary>
 /// Gets the anchor point for the selection. This is the Point that corresponds
 /// to the start position of the selection
 /// </summary>
 /// <param name="selection">the selection to examine. Must implement ITextRange</param>
 /// <returns>the anchor point of the selection; can be (double.NaN, double.NaN) if the
 /// selection start point is not contained in a document viewer</returns>
 /// <exception cref="ArgumentNullException">selection is null</exception>
 /// <exception cref="ArgumentException">selection is of wrong type</exception>
 public override Point GetAnchorPoint(Object selection)
 {
     CheckAnchor(selection);
     return(TextSelectionHelper.GetAnchorPoint(selection));
 }
 // Token: 0x06007C44 RID: 31812 RVA: 0x0022F235 File Offset: 0x0022D435
 public override Point GetAnchorPoint(object selection)
 {
     return(TextSelectionHelper.GetAnchorPoint(selection));
 }