Linespacing problem
The first row of data is not spaced at the top of RVE from the first row to the second row.
How to fix it.
Linespacing:=150%,The larger the number, the more obvious it is
See figure for problem effect.
Linespacing problem
Linespacing problem
- Attachments
-
- 行间距.jpg (18.32 KiB) Viewed 13694 times
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Linespacing problem
If line spacing is defined in % (ParaStyle.LineSpacingType = rvlsPercent), additional line spacing is added below each line, not above it.
You can define space above the paragraph using ParaStyle.SpaceBefore property. You can increase spacing at the very beginning of the document by increasing RichView.TopMargin.
Alternatively, you can use "at least" or "exactly" line spacing (ParaStyle.LineSpacingType = rvlsLineHeightAtLeast or rvlsLineHeightExact). In these modes, you specify line height, and extra spacing is added above each line.
You can define space above the paragraph using ParaStyle.SpaceBefore property. You can increase spacing at the very beginning of the document by increasing RichView.TopMargin.
Alternatively, you can use "at least" or "exactly" line spacing (ParaStyle.LineSpacingType = rvlsLineHeightAtLeast or rvlsLineHeightExact). In these modes, you specify line height, and extra spacing is added above each line.