length |
Sets the horizontal or vertical position of the background image to an exact location. Floating-point number, followed by an absolute units designator (cm , mm , in , pt , pc , or px ) or a relative units designator (em or ex ). |
percentage |
Integer, followed by a percent sign (%). The value is a percentage of the width or height of the object. |
Example
The following example indents the left edge of text in the active document to 25 pixels from the left edge of the document.
Dim objStyle As FPHTMLStyle
Set objStyle = ActiveDocument.body.Style
objStyle.textIndent = "25px"