'Declaration Public Property LineSpacingAuto As System.Nullable(Of Single)
public System.Nullable<float> LineSpacingAuto {get; set;}
The LineSpacingAuto property provides a way for the developer to space lines such that the actual value is automatically calculated by the document consumer based on the line height for the associated paragraph. An explicit value can be specified for line spacing using the LineSpacingExact property.
The LineSpacingExact , LineSpacingMinimum and LineSpacingAuto properties are mutually exclusive; when one property is set, the others are not applicable.
In the case where more than one of the properties is explicitly set, the order of precedence is as follows:
Unlike the LineSpacingExact and LineSpacingMinimum properties, this property's value is always expressed as a multiple of the line height for the paragraph, and is never converted based on the value of the associated WordDocumentWriter's Unit property.
For example, to apply vertical spacing between lines of text that is equal to .5 times the height of the line itself, assign a value of .5 to the LineSpacingAuto property, and leave the values of the LineSpacingExact and LineSpacingMinimum properties at their respective defaults.
Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
View on GitHub