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