Freigeben über


UIStringDrawing.DrawString Methode

Definition

Überlädt

DrawString(NSString, CGPoint, UIFont)

Entwickler sollten diese veraltete Methode nicht verwenden. Entwickler sollten stattdessen "NSString.DrawString (CGPoint, UIStringAttributes)" verwenden.

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

Entwickler sollten M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) anstelle dieser veralteten Methode verwenden.

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

Entwickler sollten M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) anstelle dieser veralteten Methode verwenden.

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

Entwickler sollten M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) anstelle dieser veralteten Methode verwenden.

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

Entwickler sollten M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) anstelle dieser veralteten Methode verwenden.

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

Entwickler sollten M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) anstelle dieser veralteten Methode verwenden.

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

Entwickler sollten M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) anstelle dieser veralteten Methode verwenden.

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

Entwickler sollten M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) anstelle dieser veralteten Methode verwenden.

DrawString(String, CGRect, UIFont, UILineBreakMode)

Entwickler sollten M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) anstelle dieser veralteten Methode verwenden.

DrawString(NSString, CGRect, UIFont, UILineBreakMode)

Entwickler sollten M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) anstelle dieser veralteten Methode verwenden.

DrawString(String, CGRect, UIFont)

Entwickler sollten M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) anstelle dieser veralteten Methode verwenden.

DrawString(String, CGPoint, UIFont)

Entwickler sollten anstelle dieser veralteten Methode verwenden DrawString(NSString, CGPoint, UIStringAttributes) .

DrawString(NSString, CGRect, UIFont)

Entwickler sollten M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) anstelle dieser veralteten Methode verwenden.

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

Entwickler sollten M:Foundation.NSString.DrawString(CoreGraphics.CGRect, UIKit.UIStringAttributes) anstelle dieser veralteten Methode verwenden.

DrawString(NSString, CGPoint, UIFont)

Entwickler sollten diese veraltete Methode nicht verwenden. Entwickler sollten stattdessen "NSString.DrawString (CGPoint, UIStringAttributes)" verwenden.

[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

Parameter

This
NSString
point
CGPoint
font
UIFont

Gibt zurück

Attribute

Hinweise

(Weitere Dokumentation zu diesem Knoten wird bereitgestellt.

Dies kann über einen Hintergrundthread verwendet werden.

Gilt für:

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

[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

Parameter

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

Gibt zurück

Attribute

Gilt für:

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

[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

Parameter

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

Gibt zurück

Attribute

Hinweise

(Weitere Dokumentation zu diesem Knoten wird bereitgestellt.

Dies kann über einen Hintergrundthread verwendet werden.

Gilt für:

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

[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

Parameter

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

Gibt zurück

Attribute

Hinweise

(Weitere Dokumentation zu diesem Knoten wird bereitgestellt.

Dies kann über einen Hintergrundthread verwendet werden.

Gilt für:

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

[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

Parameter

This
String
rect
CGRect
font
UIFont
alignment
UITextAlignment

Gibt zurück

Attribute

Gilt für:

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

[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

Parameter

This
String
point
CGPoint
width
nfloat
font
UIFont
breakMode
UILineBreakMode

Gibt zurück

Attribute

Gilt für:

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

[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

Parameter

This
NSString
rect
CGRect
font
UIFont
alignment
UITextAlignment

Gibt zurück

Attribute

Hinweise

(Weitere Dokumentation zu diesem Knoten wird bereitgestellt.

Dies kann über einen Hintergrundthread verwendet werden.

Gilt für:

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

[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

Parameter

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

Gibt zurück

Attribute

Gilt für:

DrawString(String, CGRect, UIFont, UILineBreakMode)

[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

Parameter

This
String
rect
CGRect
font
UIFont

Gibt zurück

Attribute

Gilt für:

DrawString(NSString, CGRect, UIFont, UILineBreakMode)

[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

Parameter

This
NSString
rect
CGRect
font
UIFont

Gibt zurück

Attribute

Hinweise

(Weitere Dokumentation zu diesem Knoten wird bereitgestellt.

Dies kann über einen Hintergrundthread verwendet werden.

Gilt für:

DrawString(String, CGRect, UIFont)

[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

Parameter

This
String
rect
CGRect
font
UIFont

Gibt zurück

Attribute

Gilt für:

DrawString(String, CGPoint, UIFont)

Entwickler sollten anstelle dieser veralteten Methode verwenden DrawString(NSString, CGPoint, UIStringAttributes) .

[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

Parameter

This
String
point
CGPoint
font
UIFont

Gibt zurück

Attribute

Gilt für:

DrawString(NSString, CGRect, UIFont)

[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

Parameter

This
NSString
rect
CGRect
font
UIFont

Gibt zurück

Attribute

Hinweise

(Weitere Dokumentation zu diesem Knoten wird bereitgestellt.

Dies kann über einen Hintergrundthread verwendet werden.

Gilt für:

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

[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

Parameter

This
NSString
point
CGPoint
width
nfloat
font
UIFont
breakMode
UILineBreakMode

Gibt zurück

Attribute

Hinweise

(Weitere Dokumentation zu diesem Knoten wird bereitgestellt.

Dies kann über einen Hintergrundthread verwendet werden.

Gilt für: