NSAttributedString.DrawString Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
DrawString(CGRect, NSStringDrawingOptions) | |
DrawString(CGRect, NSStringDrawingOptions, NSStringDrawingContext) | |
DrawString(CGPoint) |
Dessine la chaîne au point spécifié. |
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
Paramètres
- rect
- CGRect
- options
- NSStringDrawingOptions
- Attributs
S’applique à
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
Paramètres
- rect
- CGRect
- options
- NSStringDrawingOptions
- Attributs
S’applique à
DrawString(CGPoint)
Dessine la chaîne au point spécifié.
[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
Paramètres
- point
- CGPoint
- Attributs
S’applique à
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
Paramètres
- rect
- CGRect
- Attributs