Share via


UILabel.TextRectForBounds(CGRect, IntPtr) Method

Definition

The drawing RectangleF for this UILabel's Text.

[Foundation.Export("textRectForBounds:limitedToNumberOfLines:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGRect TextRectForBounds(CoreGraphics.CGRect bounds, IntPtr numberOfLines);
[<Foundation.Export("textRectForBounds:limitedToNumberOfLines:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member TextRectForBounds : CoreGraphics.CGRect * nativeint -> CoreGraphics.CGRect
override this.TextRectForBounds : CoreGraphics.CGRect * nativeint -> CoreGraphics.CGRect

Parameters

bounds
CGRect
numberOfLines
IntPtr

nativeint

Returns

Attributes

Applies to