wp.getLeftMargin
| 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.
Select all text, then drag the left margin marker in the editing window to the 1-inch mark. Type and execute:
|
| See Also |
wp.getRightMargin
|