wp.rulerLength

Syntax wp.rulerLength ()

Params None required.

Action Determines the length of the ruler in the target word processing window.

Returns A number indicating the length, in pixels, of the ruler.

Examples wp.rulerLength ()
480

Notes The ruler need not be visible for wp.rulerLength to work.

The length of the ruler is determined by the width of the page, according to the Page Setup dialog.

See Also wp.getRuler

Discuss