편집

다음을 통해 공유


UITextView.GetClosestPositionToPoint Method

Definition

Overloads

GetClosestPositionToPoint(CGPoint, UITextRange)

Gets the UITextPosition nearest to the , restricted to text .

GetClosestPositionToPoint(CGPoint)

Returns the position that is closest to the point specified within the control.

GetClosestPositionToPoint(CGPoint, UITextRange)

Gets the UITextPosition nearest to the , restricted to text .

[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

Applies to

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