MonobjcMonobjc Documented Class Library
ZoomImageToRect Method (rect)
NamespacesMonobjc.QuartzIKImageViewZoomImageToRect(NSRect)

Zooms the image so that it fits in the specified rectangle.

Original signature is '- (void)zoomImageToRect:(NSRect)rect'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void ZoomImageToRect(
	NSRect rect
)
Public Overridable Sub ZoomImageToRect ( _
	rect As NSRect _
)
public:
virtual void ZoomImageToRect(
	NSRect rect
)
Parameters
rect (NSRect)
The rectangle to fit the image in.
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.Quartz (Module: Monobjc.Quartz)