Instance Method

addMarker:

Adds aMarker to the receiver, without consulting the client view for approval.

Declaration

- (void)addMarker:(NSRulerMarker *)marker;

Discussion

Raises an NSInternalInconsistencyException if the receiver has no client view.

See Also

Adding and removing markers

markers

The receiver’s ruler markers to markers, removing any existing ruler markers and not consulting with the client view about the new markers.

- removeMarker:

Removes aMarker from the receiver, without consulting the client view for approval.

- trackMarker:withMouseEvent:

Tracks the mouse to add aMarker based on the initial mouse-down or mouse-dragged event theEvent.