IASLabel::get_ImageAlignH

This method gets the horizontal alignment of the image.

Syntax

HRESULT get_ImageAlignH( short*pwAlign );

Parameters

pwAlign
[out] Pointer to the unsigned 16-bit value that contains alignment information. It is one of the following values:
ASFC_IMAGE_HCENTER
Image is centered.
ASFC_IMAGE_LEFT
Image is left-aligned.
ASFC_IMAGE_RIGHT
Image is right-aligned.

Return Values

NOERROR indicates success. E_INVALIDARG indicates that the argument is invalid.