Paragraph.DisableLineHeightGrid Property

Word Developer Reference

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.

Syntax

expression.DisableLineHeightGrid

expression   A variable that represents a Paragraph object.

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.

Visual Basic for Applications
  With Selection.ParagraphFormat
    .DisableLineHeightGrid = True
End With

See Also