NSLayoutManager.CharacterIndexForPoint Method

Definition

Caution

Use 'GetCharacterIndex' instead.

Gets the index of the character at in .

[Foundation.Export("characterIndexForPoint:inTextContainer:fractionOfDistanceBetweenInsertionPoints:")]
[System.Obsolete("Use 'GetCharacterIndex' instead.", false)]
public virtual nuint CharacterIndexForPoint (CoreGraphics.CGPoint point, UIKit.NSTextContainer container, ref nfloat partialFraction);
abstract member CharacterIndexForPoint : CoreGraphics.CGPoint * UIKit.NSTextContainer *  -> nuint
override this.CharacterIndexForPoint : CoreGraphics.CGPoint * UIKit.NSTextContainer *  -> nuint

Parameters

point
CGPoint
container
NSTextContainer
partialFraction
nfloat

Returns

System.System.UIntPtr System.unativeint
Attributes

Applies to