![]() |
![]() |
StructSpaceProperties.BeforeParagraphSpacing
Property BeforeParagraphSpacing As Single
Member of StructSpaceProperties
The BeforeParagraphSpacing property returns or sets the amount of space before the first line of a paragraph.
The BeforeParagraphSpacing value varies in range depending on the type of paragraph spacing selected with the LineSpacingType property. For example, 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.