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.

C# | Visual Basic | Visual 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 )

- aRulerView (NSRulerView)
- The ruler view sending the message.
- aMarker (NSRulerMarker)
- The marker to be added.
- location (CGFloat)
- The new location for the marker.

The modified location to which the marker should be added.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)