MonobjcMonobjc Documented Class Library
ScrollRectBy Method (aRect, offset)
NamespacesMonobjc.AppKitNSViewScrollRectBy(NSRect, NSSize)

Copies the visible portion of the receiver’s rendered image within a region and lays that portion down again at a specified offset .

Original signature is '- (void)scrollRect:(NSRect)aRect by:(NSSize)offset'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void ScrollRectBy(
	NSRect aRect,
	NSSize offset
Public Overridable Sub ScrollRectBy ( _
	aRect As NSRect, _
	offset As NSSize _
virtual void ScrollRectBy(
	NSRect aRect, 
	NSSize offset
aRect (NSRect)
A rectangle defining a region of the receiver.
offset (NSSize)
A NSSize structure that specifies an offset from from aRect’s origin.
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)