FontLineSpacing Property

Returns line spacing of this font (in points).

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public double LineSpacing { get; }

Property Value

Type: Double
Examples
Shows how to get line spacing of current font (in points).
DocumentBuilder builder = new DocumentBuilder(new Document());
builder.Font.Name = "Calibri";
builder.Writeln("qText");

// Obtain line spacing
Aspose.Words.Font font = builder.Document.FirstSection.Body.FirstParagraph.Runs[0].Font;
Console.WriteLine($"lineSpacing = { font.LineSpacing }");
See Also