ParagraphFormat.DisableLineHeightGrid property (Word)

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 'ParagraphFormat' 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.

With Selection.ParagraphFormat 
 .DisableLineHeightGrid = True 
End With

See also

ParagraphFormat Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.