NSLayoutManager.GetBoundsRect 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.
Overloads
| Name | Description |
|---|---|
| GetBoundsRect(NSTextBlock, UIntPtr, NSRange) | |
| GetBoundsRect(NSTextBlock, UIntPtr, IntPtr) | |
| GetBoundsRect(NSTextBlock, NSRange) | |
| GetBoundsRect(NSTextBlock, UIntPtr) |
GetBoundsRect(NSTextBlock, UIntPtr, NSRange)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CoreGraphics.CGRect GetBoundsRect(AppKit.NSTextBlock block, UIntPtr glyphIndex, out Foundation.NSRange effectiveGlyphRange);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetBoundsRect : AppKit.NSTextBlock * unativeint * NSRange -> CoreGraphics.CGRect
Parameters
- block
- NSTextBlock
- glyphIndex
-
UIntPtr
unativeint
- effectiveGlyphRange
- NSRange
Returns
- Attributes
Applies to
GetBoundsRect(NSTextBlock, UIntPtr, IntPtr)
[Foundation.Export("boundsRectForTextBlock:atIndex:effectiveRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected virtual CoreGraphics.CGRect GetBoundsRect(AppKit.NSTextBlock block, UIntPtr glyphIndex, IntPtr effectiveGlyphRange);
[<Foundation.Export("boundsRectForTextBlock:atIndex:effectiveRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetBoundsRect : AppKit.NSTextBlock * unativeint * nativeint -> CoreGraphics.CGRect
override this.GetBoundsRect : AppKit.NSTextBlock * unativeint * nativeint -> CoreGraphics.CGRect
Parameters
- block
- NSTextBlock
- glyphIndex
-
UIntPtr
unativeint
- effectiveGlyphRange
-
IntPtr
nativeint
Returns
- Attributes
Applies to
GetBoundsRect(NSTextBlock, NSRange)
[Foundation.Export("boundsRectForTextBlock:glyphRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGRect GetBoundsRect(AppKit.NSTextBlock block, Foundation.NSRange glyphRange);
[<Foundation.Export("boundsRectForTextBlock:glyphRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetBoundsRect : AppKit.NSTextBlock * Foundation.NSRange -> CoreGraphics.CGRect
override this.GetBoundsRect : AppKit.NSTextBlock * Foundation.NSRange -> CoreGraphics.CGRect
Parameters
- block
- NSTextBlock
- glyphRange
- NSRange
Returns
- Attributes
Applies to
GetBoundsRect(NSTextBlock, UIntPtr)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CoreGraphics.CGRect GetBoundsRect(AppKit.NSTextBlock block, UIntPtr glyphIndex);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetBoundsRect : AppKit.NSTextBlock * unativeint -> CoreGraphics.CGRect
Parameters
- block
- NSTextBlock
- glyphIndex
-
UIntPtr
unativeint
Returns
- Attributes