LockToBaseLine Property [Publisher 2003 VBA Language Reference]
Returns an MsoTristate that represents whether or not text will be positioned along baseline guides. Read/write.
msoCTrue |
msoFalse The text is not aligned to baselines. |
msoTriStateMixed The specified paragraphs contain both text that is aligned to baselines and text that is not aligned to baselines. |
msoTriStateToggle |
msoTrue The text is aligned to baselines. |
expression.LockToBaseLine
expression Required. An expression that returns a ParagraphFormat object.
Example
The following example sets the LockToBaseLine property to True.
Dim objParaForm As ParagraphFormat
Set objParaForm = ActiveDocument.Pages(1).Shapes(1) _
.TextFrame.TextRange.ParagraphFormat
objParaForm.LockToBaseLine = msoTrue
Applies to | ParagraphFormat Object