![]() |
![]() |
StructSpaceProperties.LineSpacing
Property LineSpacing As Single
Member of StructSpaceProperties
The LineSpacing property returns or sets the amount of space between lines (that is, the leading) of text.
The LineSpacing value can vary in range depending on the type of line spacing selected with the LineSpacingType property. For example, line spacing can be measured as a percentage of character height, points, or a percentage of point size.
The following code example specifies a line spacing of 120% of the font size, spacing before paragraphs of 100%, and spacing after paragraphs of 50%:
Sub Test() With ActiveShape.Text.Selection .LineSpacingType = cdrPercentOfPointSizeLineSpacing .LineSpacing = 120 .BeforeParagraphSpacing = 100 .AfterParagraphSpacing = 50 End With End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.