MonobjcMonobjc Documented Class Library
Size Method (__target)
NamespacesMonobjc.AppKitNSAttributedString_AppKitAdditionsSize(NSAttributedString)

Returns the bounding box of the marks that the receiver draws.

Original signature is '- (NSSize)size'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSSize Size(
	this NSAttributedString __target
)
<ExtensionAttribute> _
Public Shared Function Size ( _
	__target As NSAttributedString _
) As NSSize
[ExtensionAttribute]
public:
static NSSize Size(
	NSAttributedString^ __target
)
Parameters
__target (NSAttributedString)
The target instance.
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSAttributedString_AppKitAdditions.Size(Monobjc.Foundation.NSAttributedString)"]

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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)