IASLabel::get_CaptionAlign
This method gets the caption alignment.
Syntax
HRESULT get_CaptionAlign ( short*pwAlign );
Parameters
- pwAlign
- [out] Pointer to the unsigned 16-bit value that contains alignment information. It is one of the following values:
- ASFC_CAPTION_ALIGNNONE
- Caption extends from the top of the control to the bottom.
- ASFC_CAPTION_ALIGNTOP
- Caption aligns with the top of the image.
- ASFC_CAPTION_ALIGNBOTTOM
- Caption aligns with the bottom of the image.
Return Values
NOERROR indicates success. E_INVALIDARG indicates that the argument is invalid.
See Also
IASLabel::get_CaptionAlign