MonobjcMonobjc Documented Class Library
TitleRectForBounds Method (theRect)
NamespacesMonobjc.AppKitNSCellTitleRectForBounds(NSRect)

Returns the rectangle in which the receiver draws its title text.

Original signature is '- (NSRect)titleRectForBounds:(NSRect)theRect'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRect TitleRectForBounds(
	NSRect theRect
)
Public Overridable Function TitleRectForBounds ( _
	theRect As NSRect _
) As NSRect
public:
virtual NSRect TitleRectForBounds(
	NSRect theRect
)
Parameters
theRect (NSRect)
The bounding rectangle of the receiver.
Return Value
The rectangle in which the receiver draws its title text.
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)