NSStringDrawing_NSString.DrawInRect 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 |
|---|---|
| DrawInRect(NSString, CGRect, NSStringAttributes) | |
| DrawInRect(NSString, CGRect, NSDictionary) |
DrawInRect(NSString, CGRect, NSStringAttributes)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void DrawInRect(this Foundation.NSString This, CoreGraphics.CGRect rect, AppKit.NSStringAttributes? attributes);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member DrawInRect : Foundation.NSString * CoreGraphics.CGRect * AppKit.NSStringAttributes -> unit
Parameters
- This
- NSString
The instance on which this method operates.
- rect
- CGRect
- attributes
- NSStringAttributes
- Attributes
Applies to
DrawInRect(NSString, CGRect, NSDictionary)
[Foundation.Export("drawInRect:withAttributes:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void DrawInRect(this Foundation.NSString This, CoreGraphics.CGRect rect, Foundation.NSDictionary? attributes);
[<Foundation.Export("drawInRect:withAttributes:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member DrawInRect : Foundation.NSString * CoreGraphics.CGRect * Foundation.NSDictionary -> unit
Parameters
- This
- NSString
The instance on which this method operates.
- rect
- CGRect
- attributes
- NSDictionary
- Attributes