|
Allows you to adjust the distance between lines of text.
At the start of every new line of text, the text drawing
position is shifted vertically by the distance specified in this
property. If the value is positive this will space the lines out.
If the value is negative it will shift the lines together.
You can use the following code to adopt the linespacing from an
embedded font.
FontObject font = (FontObject)doc.ObjectSoup[doc.Font];
doc.TextStyle.LineSpacing = (font.FontLineSpacing * doc.TextStyle.Size) / 1000;
|