MonobjcMonobjc Documented Class Library
ImageRectForBounds Method (theRect)
NamespacesMonobjc.AppKitNSCellImageRectForBounds(NSRect)

Returns the rectangle in which the receiver draws its image.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRect ImageRectForBounds(
	NSRect theRect
)
Public Overridable Function ImageRectForBounds ( _
	theRect As NSRect _
) As NSRect
public:
virtual NSRect ImageRectForBounds(
	NSRect theRect
)
Parameters
theRect (NSRect)
The bounding rectangle of the receiver.
Return Value
The rectangle in which the receiver draws its image. This rectangle is slightly offset from the one in theRect.
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)