NSLayoutManager.CharacterIndexForPoint 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[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
- 属性