MonoTouch.UIKit.UIView.DrawString Method

Deprecated in iOS7. Use NSString.DrawString(PointF, UIStringAttributes) instead.

Draws the string in the specified rectangle with the specified font.

Syntax

[MonoTouch.ObjCRuntime.ThreadSafe]
public System.Drawing.SizeF DrawString (string str, System.Drawing.RectangleF rect, UIFont font)

Parameters

str
String to draw.
rect
Bounding rectangle.
font
Font to use to draw the string.

Returns

The actual size used by the rendering.

Remarks

This can be used from a background thread.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0