MonobjcMonobjc Documented Class Library
RulerMarkersForTextViewParagraphStyleRuler Method (view, style, ruler)
NamespacesMonobjc.AppKitNSLayoutManagerRulerMarkersForTextViewParagraphStyleRuler(NSTextView, NSParagraphStyle, NSRulerView)

Returns an array of text ruler objects for the current selection.

Original signature is '- (NSArray *)rulerMarkersForTextView:(NSTextView *)view paragraphStyle:(NSParagraphStyle *)style ruler:(NSRulerView *)ruler'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSArray RulerMarkersForTextViewParagraphStyleRuler(
	NSTextView view,
	NSParagraphStyle style,
	NSRulerView ruler
)
Public Overridable Function RulerMarkersForTextViewParagraphStyleRuler ( _
	view As NSTextView, _
	style As NSParagraphStyle, _
	ruler As NSRulerView _
) As NSArray
public:
virtual NSArray^ RulerMarkersForTextViewParagraphStyleRuler(
	NSTextView^ view, 
	NSParagraphStyle^ style, 
	NSRulerView^ ruler
)
Parameters
view (NSTextView)
The text view using the layout manager.
style (NSParagraphStyle)
Sets the state of the controls in the accessory view; must not be nil.
ruler (NSRulerView)
The ruler view whose ruler markers are returned.
Return Value
An array of NSRulerMarker objects representing such things as left and right margins, first-line indent, and tab stops.
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)