MonobjcMonobjc Documented Class Library
RulerViewWillAddMarkerAtLocation Method (aRulerView, aMarker, location)
NamespacesMonobjc.AppKitNSTextViewRulerViewWillAddMarkerAtLocation(NSRulerView, NSRulerMarker, CGFloat)

Returns a potentially modified location to which the marker should be added.

Original signature is '- (CGFloat)rulerView:(NSRulerView *)aRulerView willAddMarker:(NSRulerMarker *)aMarker atLocation:(CGFloat)location'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual CGFloat RulerViewWillAddMarkerAtLocation(
	NSRulerView aRulerView,
	NSRulerMarker aMarker,
	CGFloat location
)
Public Overridable Function RulerViewWillAddMarkerAtLocation ( _
	aRulerView As NSRulerView, _
	aMarker As NSRulerMarker, _
	location As CGFloat _
) As CGFloat
public:
virtual CGFloat RulerViewWillAddMarkerAtLocation(
	NSRulerView^ aRulerView, 
	NSRulerMarker^ aMarker, 
	CGFloat location
)
Parameters
aRulerView (NSRulerView)
The ruler view sending the message.
aMarker (NSRulerMarker)
The marker to be added.
location (CGFloat)
The new location for the marker.
Return Value
The modified location to which the marker should be added.
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)