Returns a potentially modified location to which the marker should be moved.
Original signature is '- (CGFloat)rulerView:(NSRulerView *)aRulerView willMoveMarker:(NSRulerMarker *)aMarker toLocation:(CGFloat)location'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual CGFloat RulerViewWillMoveMarkerToLocation( NSRulerView aRulerView, NSRulerMarker aMarker, CGFloat location )
Public Overridable Function RulerViewWillMoveMarkerToLocation ( _ aRulerView As NSRulerView, _ aMarker As NSRulerMarker, _ location As CGFloat _ ) As CGFloat
public: virtual CGFloat RulerViewWillMoveMarkerToLocation( NSRulerView^ aRulerView, NSRulerMarker^ aMarker, CGFloat location )
Parameters
- aRulerView (NSRulerView)
- The ruler view sending the message.
- aMarker (NSRulerMarker)
- The marker to be moved.
- location (CGFloat)
- The new location for the marker.
Return Value
The modified location to which the marker should be moved.
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)