Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Chapter 3 - Word Processing Views / Word Processing View Reference
Common Parameter Descriptions


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.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
26 APR 1997



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help