Draws the receiver with the specified options, within the given rectangle in the current graphics context.
Original signature is '- (void)drawWithRect:(NSRect)rect options:(NSStringDrawingOptions)options'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static void DrawWithRectOptions( this NSAttributedString __target, NSRect rect, NSStringDrawingOptions options )
<ExtensionAttribute> _ Public Shared Sub DrawWithRectOptions ( _ __target As NSAttributedString, _ rect As NSRect, _ options As NSStringDrawingOptions _ )
[ExtensionAttribute] public: static void DrawWithRectOptions( NSAttributedString^ __target, NSRect rect, NSStringDrawingOptions options )
Parameters
- __target (NSAttributedString)
- The target instance.
- rect (NSRect)
- MISSING
- options (NSStringDrawingOptions)
- MISSING
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type NSAttributedString. When you use instance method syntax to call this method, omit the first parameter.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)