Paragraph.DisableLineHeightGrid Property
Determines if Microsoft Word aligns characters in the specified paragraphs to the line grid when a set number of lines per page is specified.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property DisableLineHeightGrid As Integer
Get
Set
'Usage
Dim instance As Paragraph
Dim value As Integer
value = instance.DisableLineHeightGrid
instance.DisableLineHeightGrid = value
int DisableLineHeightGrid { get; set; }
Property Value
Type: System.Int32
Remarks
This property returns True if Word aligns characters in the specified paragraphs to the line grid when a set number of lines per page is specified, and False if not. Set the property value to True or False to enable or disable the functionality.
This property returns wdUndefined if the DisableLineHeightGrid property is set to True for only some of the specified paragraphs.