共用方式為


NSLayoutManager.GetCharacterIndex 方法

定義

多載

GetCharacterIndex(CGPoint, NSTextContainer)
GetCharacterIndex(CGPoint, NSTextContainer, nfloat)

GetCharacterIndex(CGPoint, NSTextContainer)

public nuint GetCharacterIndex (CoreGraphics.CGPoint point, UIKit.NSTextContainer container);
member this.GetCharacterIndex : CoreGraphics.CGPoint * UIKit.NSTextContainer -> nuint

參數

point
CGPoint
container
NSTextContainer

傳回

System.System.UIntPtr System.unativeint

適用於

GetCharacterIndex(CGPoint, NSTextContainer, nfloat)

public nuint GetCharacterIndex (CoreGraphics.CGPoint point, UIKit.NSTextContainer container, out nfloat fractionOfDistanceBetweenInsertionPoints);
member this.GetCharacterIndex : CoreGraphics.CGPoint * UIKit.NSTextContainer *  -> nuint

參數

point
CGPoint
container
NSTextContainer
fractionOfDistanceBetweenInsertionPoints
nfloat

傳回

System.System.UIntPtr System.unativeint

適用於