NSLayoutManager.GetGlyphRangeForBoundingRect(CGRect, NSTextContainer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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, AppKit.NSTextContainer container);
[<Foundation.Export("glyphRangeForBoundingRect:inTextContainer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetGlyphRangeForBoundingRect : CoreGraphics.CGRect * AppKit.NSTextContainer -> Foundation.NSRange
override this.GetGlyphRangeForBoundingRect : CoreGraphics.CGRect * AppKit.NSTextContainer -> Foundation.NSRange
Parameters
- bounds
- CGRect
- container
- NSTextContainer
Returns
- Attributes