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.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static CoreGraphics.CGRect BoundingRectWithSize (this Foundation.NSAttributedString This, CoreGraphics.CGSize size, Foundation.NSStringDrawingOptions options, AppKit.NSStringDrawingContext context);
static member BoundingRectWithSize : Foundation.NSAttributedString * CoreGraphics.CGSize * Foundation.NSStringDrawingOptions * AppKit.NSStringDrawingContext -> CoreGraphics.CGRect
Parameters
- This
- NSAttributedString
- size
- CGSize
- options
- NSStringDrawingOptions
- context
- NSStringDrawingContext
Returns
- Attributes