Düzenle

Aracılığıyla paylaş


UIStringDrawing.DrawString Method

Definition

Overloads

DrawString(NSString, CGPoint, UIFont)

Developers should not use this deprecated method. Developers should use 'NSString.DrawString (CGPoint, UIStringAttributes)' instead.

DrawString(String, CGPoint, nfloat, UIFont, nfloat, nfloat, UILineBreakMode, UIBaselineAdjustment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(NSString, CGPoint, nfloat, UIFont, nfloat, nfloat, UILineBreakMode, UIBaselineAdjustment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(NSString, CGPoint, nfloat, UIFont, nfloat, UILineBreakMode, UIBaselineAdjustment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(String, CGRect, UIFont, UILineBreakMode, UITextAlignment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(String, CGPoint, nfloat, UIFont, UILineBreakMode)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(NSString, CGRect, UIFont, UILineBreakMode, UITextAlignment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(String, CGPoint, nfloat, UIFont, nfloat, UILineBreakMode, UIBaselineAdjustment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method..

DrawString(String, CGRect, UIFont, UILineBreakMode)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(NSString, CGRect, UIFont, UILineBreakMode)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(String, CGRect, UIFont)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(String, CGPoint, UIFont)

Developers should use DrawString(NSString, CGPoint, UIStringAttributes) rather than this deprecated method.

DrawString(NSString, CGRect, UIFont)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

DrawString(NSString, CGPoint, nfloat, UIFont, UILineBreakMode)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method..

DrawString(NSString, CGPoint, UIFont)

Developers should not use this deprecated method. Developers should use 'NSString.DrawString (CGPoint, UIStringAttributes)' instead.

[Foundation.Export("drawAtPoint:withFont:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'NSString.DrawString (CGPoint, UIStringAttributes)' instead.")]
[ObjCRuntime.ThreadSafe]
public static CoreGraphics.CGSize DrawString (this Foundation.NSString This, CoreGraphics.CGPoint point, UIKit.UIFont font);
static member DrawString : Foundation.NSString * CoreGraphics.CGPoint * UIKit.UIFont -> CoreGraphics.CGSize

Parameters

This
NSString
point
CGPoint
font
UIFont

Returns

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to

DrawString(String, CGPoint, nfloat, UIFont, nfloat, nfloat, UILineBreakMode, UIBaselineAdjustment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use NSString.DrawString(CGRect, UIStringAttributes) instead.")]
public static CoreGraphics.CGSize DrawString (this string This, CoreGraphics.CGPoint point, nfloat width, UIKit.UIFont font, nfloat minFontSize, ref nfloat actualFontSize, UIKit.UILineBreakMode breakMode, UIKit.UIBaselineAdjustment adjustment);
static member DrawString : string * CoreGraphics.CGPoint * nfloat * UIKit.UIFont * nfloat *  * UIKit.UILineBreakMode * UIKit.UIBaselineAdjustment -> CoreGraphics.CGSize

Parameters

This
String
point
CGPoint
width
nfloat
font
UIFont
minFontSize
nfloat
actualFontSize
nfloat
breakMode
UILineBreakMode

Returns

Attributes

Applies to

DrawString(NSString, CGPoint, nfloat, UIFont, nfloat, nfloat, UILineBreakMode, UIBaselineAdjustment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

[Foundation.Export("drawAtPoint:forWidth:withFont:minFontSize:actualFontSize:lineBreakMode:baselineAdjustment:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'NSString.DrawString (CGRect, UIStringAttributes)' instead.")]
[ObjCRuntime.ThreadSafe]
public static CoreGraphics.CGSize DrawString (this Foundation.NSString This, CoreGraphics.CGPoint point, nfloat width, UIKit.UIFont font, nfloat minFontSize, ref nfloat actualFontSize, UIKit.UILineBreakMode breakMode, UIKit.UIBaselineAdjustment adjustment);
static member DrawString : Foundation.NSString * CoreGraphics.CGPoint * nfloat * UIKit.UIFont * nfloat *  * UIKit.UILineBreakMode * UIKit.UIBaselineAdjustment -> CoreGraphics.CGSize

Parameters

This
NSString
point
CGPoint
width
nfloat
font
UIFont
minFontSize
nfloat
actualFontSize
nfloat
breakMode
UILineBreakMode

Returns

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to

DrawString(NSString, CGPoint, nfloat, UIFont, nfloat, UILineBreakMode, UIBaselineAdjustment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

[Foundation.Export("drawAtPoint:forWidth:withFont:fontSize:lineBreakMode:baselineAdjustment:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'NSString.DrawString (CGRect, UIStringAttributes)' instead.")]
[ObjCRuntime.ThreadSafe]
public static CoreGraphics.CGSize DrawString (this Foundation.NSString This, CoreGraphics.CGPoint point, nfloat width, UIKit.UIFont font, nfloat fontSize, UIKit.UILineBreakMode breakMode, UIKit.UIBaselineAdjustment adjustment);
static member DrawString : Foundation.NSString * CoreGraphics.CGPoint * nfloat * UIKit.UIFont * nfloat * UIKit.UILineBreakMode * UIKit.UIBaselineAdjustment -> CoreGraphics.CGSize

Parameters

This
NSString
point
CGPoint
width
nfloat
font
UIFont
fontSize
nfloat
breakMode
UILineBreakMode

Returns

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to

DrawString(String, CGRect, UIFont, UILineBreakMode, UITextAlignment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use NSString.DrawString(CGRect, UIStringAttributes) instead.")]
public static CoreGraphics.CGSize DrawString (this string This, CoreGraphics.CGRect rect, UIKit.UIFont font, UIKit.UILineBreakMode mode, UIKit.UITextAlignment alignment);
static member DrawString : string * CoreGraphics.CGRect * UIKit.UIFont * UIKit.UILineBreakMode * UIKit.UITextAlignment -> CoreGraphics.CGSize

Parameters

This
String
rect
CGRect
font
UIFont
alignment
UITextAlignment

Returns

Attributes

Applies to

DrawString(String, CGPoint, nfloat, UIFont, UILineBreakMode)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use NSString.DrawString(CGRect, UIStringAttributes) instead.")]
public static CoreGraphics.CGSize DrawString (this string This, CoreGraphics.CGPoint point, nfloat width, UIKit.UIFont font, UIKit.UILineBreakMode breakMode);
static member DrawString : string * CoreGraphics.CGPoint * nfloat * UIKit.UIFont * UIKit.UILineBreakMode -> CoreGraphics.CGSize

Parameters

This
String
point
CGPoint
width
nfloat
font
UIFont
breakMode
UILineBreakMode

Returns

Attributes

Applies to

DrawString(NSString, CGRect, UIFont, UILineBreakMode, UITextAlignment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

[Foundation.Export("drawInRect:withFont:lineBreakMode:alignment:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'NSString.DrawString (CGRect, UIStringAttributes)' instead.")]
[ObjCRuntime.ThreadSafe]
public static CoreGraphics.CGSize DrawString (this Foundation.NSString This, CoreGraphics.CGRect rect, UIKit.UIFont font, UIKit.UILineBreakMode mode, UIKit.UITextAlignment alignment);
static member DrawString : Foundation.NSString * CoreGraphics.CGRect * UIKit.UIFont * UIKit.UILineBreakMode * UIKit.UITextAlignment -> CoreGraphics.CGSize

Parameters

This
NSString
rect
CGRect
font
UIFont
alignment
UITextAlignment

Returns

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to

DrawString(String, CGPoint, nfloat, UIFont, nfloat, UILineBreakMode, UIBaselineAdjustment)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method..

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use NSString.DrawString(CGRect, UIStringAttributes) instead.")]
public static CoreGraphics.CGSize DrawString (this string This, CoreGraphics.CGPoint point, nfloat width, UIKit.UIFont font, nfloat fontSize, UIKit.UILineBreakMode breakMode, UIKit.UIBaselineAdjustment adjustment);
static member DrawString : string * CoreGraphics.CGPoint * nfloat * UIKit.UIFont * nfloat * UIKit.UILineBreakMode * UIKit.UIBaselineAdjustment -> CoreGraphics.CGSize

Parameters

This
String
point
CGPoint
width
nfloat
font
UIFont
fontSize
nfloat
breakMode
UILineBreakMode

Returns

Attributes

Applies to

DrawString(String, CGRect, UIFont, UILineBreakMode)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use NSString.DrawString(CGRect, UIStringAttributes) instead.")]
public static CoreGraphics.CGSize DrawString (this string This, CoreGraphics.CGRect rect, UIKit.UIFont font, UIKit.UILineBreakMode mode);
static member DrawString : string * CoreGraphics.CGRect * UIKit.UIFont * UIKit.UILineBreakMode -> CoreGraphics.CGSize

Parameters

This
String
rect
CGRect
font
UIFont

Returns

Attributes

Applies to

DrawString(NSString, CGRect, UIFont, UILineBreakMode)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

[Foundation.Export("drawInRect:withFont:lineBreakMode:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'NSString.DrawString (CGRect, UIStringAttributes)' instead.")]
[ObjCRuntime.ThreadSafe]
public static CoreGraphics.CGSize DrawString (this Foundation.NSString This, CoreGraphics.CGRect rect, UIKit.UIFont font, UIKit.UILineBreakMode mode);
static member DrawString : Foundation.NSString * CoreGraphics.CGRect * UIKit.UIFont * UIKit.UILineBreakMode -> CoreGraphics.CGSize

Parameters

This
NSString
rect
CGRect
font
UIFont

Returns

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to

DrawString(String, CGRect, UIFont)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use NSString.DrawString(CGRect, UIStringAttributes) instead.")]
public static CoreGraphics.CGSize DrawString (this string This, CoreGraphics.CGRect rect, UIKit.UIFont font);
static member DrawString : string * CoreGraphics.CGRect * UIKit.UIFont -> CoreGraphics.CGSize

Parameters

This
String
rect
CGRect
font
UIFont

Returns

Attributes

Applies to

DrawString(String, CGPoint, UIFont)

Developers should use DrawString(NSString, CGPoint, UIStringAttributes) rather than this deprecated method.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use NSString.DrawString(CGPoint, UIStringAttributes) instead.")]
public static CoreGraphics.CGSize DrawString (this string This, CoreGraphics.CGPoint point, UIKit.UIFont font);
static member DrawString : string * CoreGraphics.CGPoint * UIKit.UIFont -> CoreGraphics.CGSize

Parameters

This
String
point
CGPoint
font
UIFont

Returns

Attributes

Applies to

DrawString(NSString, CGRect, UIFont)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method.

[Foundation.Export("drawInRect:withFont:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'NSString.DrawString (CGRect, UIStringAttributes)' instead.")]
[ObjCRuntime.ThreadSafe]
public static CoreGraphics.CGSize DrawString (this Foundation.NSString This, CoreGraphics.CGRect rect, UIKit.UIFont font);
static member DrawString : Foundation.NSString * CoreGraphics.CGRect * UIKit.UIFont -> CoreGraphics.CGSize

Parameters

This
NSString
rect
CGRect
font
UIFont

Returns

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to

DrawString(NSString, CGPoint, nfloat, UIFont, UILineBreakMode)

Developers should use M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) rather than this deprecated method..

[Foundation.Export("drawAtPoint:forWidth:withFont:lineBreakMode:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'NSString.DrawString (CGRect, UIStringAttributes)' instead.")]
[ObjCRuntime.ThreadSafe]
public static CoreGraphics.CGSize DrawString (this Foundation.NSString This, CoreGraphics.CGPoint point, nfloat width, UIKit.UIFont font, UIKit.UILineBreakMode breakMode);
static member DrawString : Foundation.NSString * CoreGraphics.CGPoint * nfloat * UIKit.UIFont * UIKit.UILineBreakMode -> CoreGraphics.CGSize

Parameters

This
NSString
point
CGPoint
width
nfloat
font
UIFont
breakMode
UILineBreakMode

Returns

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to