MonobjcMonobjc Documented Class Library
DrawRepresentationInRect Method (imageRep, dstRect)
NamespacesMonobjc.AppKitNSImageDrawRepresentationInRect(NSImageRep, NSRect)

Draws the image using the specified image representation object.

Original signature is '- (BOOL)drawRepresentation:(NSImageRep *)imageRep inRect:(NSRect)dstRect'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool DrawRepresentationInRect(
	NSImageRep imageRep,
	NSRect dstRect
)
Public Overridable Function DrawRepresentationInRect ( _
	imageRep As NSImageRep, _
	dstRect As NSRect _
) As Boolean
public:
virtual bool DrawRepresentationInRect(
	NSImageRep^ imageRep, 
	NSRect dstRect
)
Parameters
imageRep (NSImageRep)
The image representation object to be drawn.
dstRect (NSRect)
The rectangle in which to draw the image representation, specified in the current coordinate system.
Return Value
YES if the image was successfully drawn; otherwise, returns NO.
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)