TerSetParaSpacing
Set the spacing parameters for the current paragraph.
boolean TerSetParaSpacing( SpaceBefore, SpaceAfter, SpaceBetween, refresh)
boolean TerSetParaSpacing2( SpaceBefore, SpaceAfter, SpaceBetween, LineSpacing,refresh)
int SpaceBefore; | Space before the first line of the paragraph in twips Set to -1 to leave the previous value unchanged. |
int SpaceAfter; | Space after the last line of the paragraph in twips. Set to -1 to leave the previous value unchanged. |
int SpaceBetween; | Minimum space between the lines of the paragraph. To set the exact spacing, specify a negative value. To set a minimum line spacing, specify a positive value. Set to -9999 to leave the previous value unchanged. |
| int LineSpacing: | Applicable to TerSetParaSpacing2 function only. You can use this argument to specify the extra line space in percentage of the current line height. For example, set to 50 to specify 1.5 line spacing, or 100 to specify double line spacing. Set to 0 for default. Set to -1 to leave the previous value unchanged. |
boolean refresh; | true to refresh the window after this operation. |
Description: This function is used to specify the paragraph spacing parameters. Use zero to specify the default value for any parameter.
Return Value: This function returns true if successful.