piSpacingAfter - DfBaseRichEdit
Determines the spacing below selected paragraph or paragraphs
Type: Property
Access: Read/Write
Data Type: integer
Parameters: None
Syntax
Property integer piSpacingAfter
| Access Type | Syntax |
|---|---|
| Read Access: | Get piSpacingAfter to integerVariable |
| Write Access: | Set piSpacingAfter to integerVariable/Value |
Description
If any part of a paragraph is selected, this property applies to the entire paragraph. If the cursor is in a paragraph, this property applies to the entire paragraph.
This property uses twips, which are 1/1440 of an inch, or 1/20 of a printer's point.
This property has no effect if control is not paged.
Use piSpacingBefore to determine the spacing below selected paragraph or paragraphs.
Sample
This sample increases the spacing below the selected paragraph or paragraphs by half an inch.
Procedure IncreaseSpacingAfter
integer iTwips iCurrentSpacing
// number of twips per inch
move 1440 to iTwips
get piSpacingAfter to iCurrentSpacing
set piSpacingAfter to (iCurrentSpacing + (iTwips * 0.5))
End_Procedure // IncreaseSpacingAfter