Version

LineSpacing Structure

Represents the vertical spacing of each line within a paragraph
Syntax
'Declaration
 
Public Structure LineSpacing 
   Inherits System.ValueType
public struct LineSpacing : System.ValueType 
Remarks

Note: a type converter is supplied to allow this structure to be specified in xaml. Here are some sample values, in quotes, along with corresponding c# code examples:

  • "single" - new LineSpacing(1.0f)
  • "double" - new LineSpacing(2.0f)
  • "2.75x" - new LineSpacing(2.75f)
  • "12.5pt" - new LineSpacing(new Extent(12.5, ExtentUnitType.Points), ExtentRule.Exact)
  • "atleast 12.5pt" - new LineSpacing(new Extent(12.5, ExtentUnitType.Points), ExtentRule.AtLeast)

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also