NSAttributedString_NSExtendedStringDrawing.BoundingRectWithSize 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.
[Foundation.Export("boundingRectWithSize:options:context:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreGraphics.CGRect BoundingRectWithSize(this Foundation.NSAttributedString This, CoreGraphics.CGSize size, Foundation.NSStringDrawingOptions options, AppKit.NSStringDrawingContext? context);
[<Foundation.Export("boundingRectWithSize:options:context:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member BoundingRectWithSize : Foundation.NSAttributedString * CoreGraphics.CGSize * Foundation.NSStringDrawingOptions * AppKit.NSStringDrawingContext -> CoreGraphics.CGRect
Parameters
- This
- NSAttributedString
The instance on which this method operates.
- size
- CGSize
- options
- NSStringDrawingOptions
- context
- NSStringDrawingContext
Returns
- Attributes