The Ruler Information Frame
Several of the word-processing methods use a ruler information parameter to specify style information for a paragraph.
- rulerInfo
- A frame describing the attributes of a ruler. This frame contains the following slots:
justification
Optional. One of the symbols:'left
,'right
,'center
or'full
.
indent
Optional. The indentation of the first line of the paragraph, expressed as an integer number of pixels measured from the left edge of the text bounds.
leftMargin
Optional. The left margin of the paragraph, expressed as an integer number of pixels measured from the left edge of the text bounds.
rightMargin
Optional. The right margin of the paragraph, expressed as an integer number of pixels measured from the right edge of the text bounds.
lineSpacing
Optional. The spacing for text lines in the paragraph, expressed as an integer number of text lines. A value of 2 indicates double spacing.
tabs
Optional. An array of tab frames, as described in the next section.
![]()
![]()
![]()
![]()
© Apple Computer, Inc.
26 APR 1997Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help