Index   Commented   Search   About

SOPutParaSpacing

Sets the spacing for a paragraph.

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_HEIGHTATLEAST
Sets 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_HEIGHTAUTO
Sets the line height automatically to fit the tallest character in the line.
SO_HEIGHTEXACTLY
Sets 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 Values

None.

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun