IASPowerListBox::get_Alignment

This method retrieves how items are aligned.

Syntax

HRESULT get_Alignment ( short *pwAlign );

Parameters

pwAlign
Pointer to an unsigned 16-bit character that contains one of the following alignment flags:
ASFC_ALIGN_BOTTOM
Aligns text with the bottom of the control.
ASFC_ALIGN_CENTER
Centers text.
ASFC_ALIGN_LEFT
Aligns text to the left of the control.
ASFC_ALIGN_RIGHT
Aligns text to the right of the control.
ASFC_ALIGN_SINGLELINE
Draws text in a single line.
ASFC_ALIGN_TOP
Aligns text with the top of the control.
ASFC_ALIGN_VCENTER
Centers text vertically.

Return Values

NOERROR indicates success. E_OUTOFMEMORY indicates that the system is out of memory.