SOPutParaSpacingSOPutParaSpacing*
*Contents  *Index  *Topic Contents
*Previous Topic: SOPutParaMargins
*Next Topic: SOPutScanLineData

SOPutParaSpacing

Sets the spacing for a paragraph.

Syntax


VOID SOPutParaSpacing(
    WORD wLineHeightType, 
    DWORD dwLineHeight,   
    DWORD dwSpaceBefore,  
    DWORD dwSpaceAfter,   
    HPROC reserved        
);

Parameters

wLineHeightType
Type of line height. This parameter can be one of these values:
SO_HEIGHTATLEASTSets the line height to the height given by dwLineHeight or sets it to fit the tallest character in the line, whichever height is greater.
SO_HEIGHTAUTOSets the line height automatically to fit the tallest character in the line.
SO_HEIGHTEXACTLYSets the line height to the height given by dwLineHeight.
dwLineHeight
Baseline to baseline height, in TWIPs.
dwSpaceBefore
Space before the paragraph, in TWIPs.
dwSpaceAfter
Space after the paragraph, in TWIPs.
reserved
Reserved; do not use.

Return Value

No return value.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.