Partager via


Paragraph.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 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.

With Selection.ParagraphFormat 
 .DisableLineHeightGrid = True 
End With

See Also

Concepts

Paragraph Object

Paragraph Object Members