DisableLineHeightGrid Property

Microsoft Word Visual Basic

DisableLineHeightGrid Property

       

True if Microsoft Word aligns characters in the specified paragraphs to the line grid when a set number of lines per page is specified. Returns wdUndefined if the DisableLineHeightGrid property is set to True for only some of the specified paragraphs. Read/write Long.

Example

This example sets Microsoft Word to align characters in the selected paragraphs to the line grid if you’ve specified a set number of lines per page.

With Selection.ParagraphFormat
    .DisableLineHeightGrid = True
End With