共用方式為


NSLayoutManager.CharacterIndexForPoint 方法

定義

[Foundation.Export("characterIndexForPoint:inTextContainer:fractionOfDistanceBetweenInsertionPoints:")]
public virtual nuint CharacterIndexForPoint (CoreGraphics.CGPoint point, AppKit.NSTextContainer container, ref nfloat fractionOfDistanceBetweenInsertionPoints);
abstract member CharacterIndexForPoint : CoreGraphics.CGPoint * AppKit.NSTextContainer *  -> nuint
override this.CharacterIndexForPoint : CoreGraphics.CGPoint * AppKit.NSTextContainer *  -> nuint

參數

point
CGPoint
container
NSTextContainer
fractionOfDistanceBetweenInsertionPoints
nfloat

傳回

System.System.UIntPtr System.unativeint
屬性

適用於