MonobjcMonobjc Documented Class Library
ScrollRectToVisible Method (theRect)
NamespacesMonobjc.QuartzCoreCALayerScrollRectToVisible(CGRect)

Scrolls the receiver’s closest ancestor CAScrollLayer the minimum distance needed so that the specified rectangle becomes visible.

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

Available in Mac OS X v10.5 and later.

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