MonobjcMonobjc Documented Class Library
ScrollToRect Method (theRect)
NamespacesMonobjc.QuartzCoreCAScrollLayerScrollToRect(CGRect)

Scroll the contents of the receiver to ensure that the rectangle is visible.

Original signature is '- (void)scrollToRect:(CGRect)theRect'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void ScrollToRect(
	CGRect theRect
)
Public Overridable Sub ScrollToRect ( _
	theRect As CGRect _
)
public:
virtual void ScrollToRect(
	CGRect theRect
)
Parameters
theRect (CGRect)
The rectangle that should be visible.
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)