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
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for