| Syntax |
wp.getLeftMargin ()
|
| Params |
None required.
|
| Action |
Determines the current setting of the left margin for the selection in the target document. If the selection is empty, this verb determines the current setting of the left margin for the paragraph in which the selection appears.
|
| Returns |
A number indicating the number of pixels from the left edge of the window at which the left margin is set.
|
| Examples |
edit (@examples.testText);
wp.getLeftMargin ()
» 0
The left margin defaults to 0.
edit (@examples.testText)
» true
Select all text, then drag the left margin marker in the editing window to the 1-inch mark. Type and execute:
wp.getLeftMargin ()
» 72 // Margin in pixels
|
| See Also |
wp.getRightMargin
wp.setLeftMargin
wp.setRightMargin
|