NSAttributedString.DrawString 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
DrawString(CGRect, NSStringDrawingOptions) | |
DrawString(CGRect, NSStringDrawingOptions, NSStringDrawingContext) | |
DrawString(CGPoint) |
Draws the string at the specified point. |
DrawString(CGRect) |
DrawString(CGRect, NSStringDrawingOptions)
[Foundation.Export("drawWithRect:options:")]
public virtual void DrawString (CoreGraphics.CGRect rect, Foundation.NSStringDrawingOptions options);
abstract member DrawString : CoreGraphics.CGRect * Foundation.NSStringDrawingOptions -> unit
override this.DrawString : CoreGraphics.CGRect * Foundation.NSStringDrawingOptions -> unit
Parameters
- rect
- CGRect
- options
- NSStringDrawingOptions
- Attributes
Applies to
DrawString(CGRect, NSStringDrawingOptions, NSStringDrawingContext)
[Foundation.Export("drawWithRect:options:context:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DrawString (CoreGraphics.CGRect rect, Foundation.NSStringDrawingOptions options, Foundation.NSStringDrawingContext context);
abstract member DrawString : CoreGraphics.CGRect * Foundation.NSStringDrawingOptions * Foundation.NSStringDrawingContext -> unit
override this.DrawString : CoreGraphics.CGRect * Foundation.NSStringDrawingOptions * Foundation.NSStringDrawingContext -> unit
Parameters
- rect
- CGRect
- options
- NSStringDrawingOptions
- Attributes
Applies to
DrawString(CGPoint)
Draws the string at the specified point.
[Foundation.Export("drawAtPoint:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DrawString (CoreGraphics.CGPoint point);
[Foundation.Export("drawAtPoint:")]
public virtual void DrawString (CoreGraphics.CGPoint point);
abstract member DrawString : CoreGraphics.CGPoint -> unit
override this.DrawString : CoreGraphics.CGPoint -> unit
Parameters
- point
- CGPoint
- Attributes
Applies to
DrawString(CGRect)
[Foundation.Export("drawInRect:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DrawString (CoreGraphics.CGRect rect);
[Foundation.Export("drawInRect:")]
public virtual void DrawString (CoreGraphics.CGRect rect);
abstract member DrawString : CoreGraphics.CGRect -> unit
override this.DrawString : CoreGraphics.CGRect -> unit
Parameters
- rect
- CGRect
- Attributes