Description
Sets the character alignment of this
StringFormat
object in relation to the origin of the layout rectangle. A layout
rectangle is used to position the displayed string.
Syntax
GpStatus WINGDIPAPI GdipSetStringFormatAlign(
GpStringFormat
*format,
StringAlignment
align
);
PowerBASIC Syntax
DECLARE FUNCTION GdipSetStringFormatAlign ( _
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 a string
is aligned in reference to the bounding rectangle.
|