GdipSetStringFormatLineAlign

 

 

Description

Sets the line alignment of this StringFormat object in relation to the origin of the layout rectangle. The line alignment setting specifies how to align the string vertically in the layout rectangle. The layout rectangle is used to position the displayed string.

Syntax

GpStatus WINGDIPAPI GdipSetStringFormatLineAlign(

    GpStringFormat *format,

    StringAlignment align

);

PowerBASIC Syntax

DECLARE FUNCTION GdipSetStringFormatLineAlign ( _

    BYVAL pFormat AS DWORD, _

    BYVAL align AS LONG _

) AS LONG

Parameters

 

format

[in] Pointer to the StringFormat object.

align

[in] Element of the StringAlignment enumeration that specifies how to align a string in reference to the layout rectangle.

 

Valid HTML 4.01 Transitional