Share via


NSLayoutManager.GetGlyphRangeForBoundingRect(CGRect, NSTextContainer) Method

Definition

Returns the range of glyph indices that are at least partially in the bounds.

[Foundation.Export("glyphRangeForBoundingRect:inTextContainer:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSRange GetGlyphRangeForBoundingRect(CoreGraphics.CGRect bounds, UIKit.NSTextContainer container);
[<Foundation.Export("glyphRangeForBoundingRect:inTextContainer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetGlyphRangeForBoundingRect : CoreGraphics.CGRect * UIKit.NSTextContainer -> Foundation.NSRange
override this.GetGlyphRangeForBoundingRect : CoreGraphics.CGRect * UIKit.NSTextContainer -> Foundation.NSRange

Parameters

bounds
CGRect
container
NSTextContainer

Returns

Attributes

Applies to