UITextField.GetClosestPositionToPoint 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.
Overloads
GetClosestPositionToPoint(CGPoint) |
Returns the position that is closest to the point specified within the control. |
GetClosestPositionToPoint(CGPoint, UITextRange) |
Gets the UITextPosition closest to , restricted to the range . |
GetClosestPositionToPoint(CGPoint)
Returns the position that is closest to the point specified within the control.
[Foundation.Export("closestPositionToPoint:")]
public virtual UIKit.UITextPosition GetClosestPositionToPoint (CoreGraphics.CGPoint point);
abstract member GetClosestPositionToPoint : CoreGraphics.CGPoint -> UIKit.UITextPosition
override this.GetClosestPositionToPoint : CoreGraphics.CGPoint -> UIKit.UITextPosition
Parameters
- point
- CGPoint
A point within the control.
Returns
Implements
- Attributes
Applies to
GetClosestPositionToPoint(CGPoint, UITextRange)
Gets the UITextPosition closest to , restricted to the range .
[Foundation.Export("closestPositionToPoint:withinRange:")]
public virtual UIKit.UITextPosition GetClosestPositionToPoint (CoreGraphics.CGPoint point, UIKit.UITextRange withinRange);
abstract member GetClosestPositionToPoint : CoreGraphics.CGPoint * UIKit.UITextRange -> UIKit.UITextPosition
override this.GetClosestPositionToPoint : CoreGraphics.CGPoint * UIKit.UITextRange -> UIKit.UITextPosition
Parameters
- point
- CGPoint
- withinRange
- UITextRange
Returns
Implements
- Attributes