IUIX_Button::TextColor Property

From PDF XChange PDF SDK
Revision as of 01:54, 5 May 2015 by Oleh (Talk | contribs)

Jump to: navigation, search


Gets/sets button text color in RGBA notation.

Syntax

HRESULT get_TextColor([out, retval]  LONG*  pColor);
HRESULT put_TextColor([in]  LONG  pColor);

Remarks

2 high-order bytes represent text opacity value, other byte pairs from higher to lower represent red, green and blue color components respectively. For instance,

btn->put_TextColor(0xFF00FF00);

will set button text color to green with 0% opacity value.

See Also

See also IUIX_Button.