NSLayoutManager.BoundingRectForGlyphRange(NSRange, 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.
The bounding rectangle, in container coordinates, for the glyphs in the specified range.
[Foundation.Export("boundingRectForGlyphRange:inTextContainer:")]
public virtual CoreGraphics.CGRect BoundingRectForGlyphRange (Foundation.NSRange glyphRange, UIKit.NSTextContainer container);
abstract member BoundingRectForGlyphRange : Foundation.NSRange * UIKit.NSTextContainer -> CoreGraphics.CGRect
override this.BoundingRectForGlyphRange : Foundation.NSRange * UIKit.NSTextContainer -> CoreGraphics.CGRect
Parameters
- glyphRange
- NSRange
- container
- NSTextContainer
Returns
- Attributes
Remarks
The returned RectangleF includes the area needed for all marks associated with the glyphs, including the area needed for glyphs that draw outside of their line fragment rectangle and for marks such as underlining.