共用方式為


NSLayoutManager.GlyphRangeForBoundingRect(CGRect, NSTextContainer) 方法

定義

傳回至少部分在 中的字元索引範圍。

[Foundation.Export("glyphRangeForBoundingRect:inTextContainer:")]
public virtual Foundation.NSRange GlyphRangeForBoundingRect (CoreGraphics.CGRect bounds, UIKit.NSTextContainer container);
abstract member GlyphRangeForBoundingRect : CoreGraphics.CGRect * UIKit.NSTextContainer -> Foundation.NSRange
override this.GlyphRangeForBoundingRect : CoreGraphics.CGRect * UIKit.NSTextContainer -> Foundation.NSRange

參數

bounds
CGRect
container
NSTextContainer

傳回

屬性

適用於