IUIX_Button::TextColor Property
From PDF XChange PDF SDK
Line 12: | Line 12: | ||
== Remarks == | == Remarks == | ||
− | + | First high-order byte represents text opacity value, other bytes from higher to lower represent blue, green and red color components respectively. For instance, | |
<pre class="brush:cpp;gutter:false">btn->put_TextColor(0xFF00FF00); | <pre class="brush:cpp;gutter:false">btn->put_TextColor(0xFF00FF00); | ||
</pre> | </pre> |
Revision as of 23:08, 11 May 2015
Gets/sets button text color in RGBA notation.
Syntax
HRESULT get_TextColor([out, retval] LONG* pColor); HRESULT put_TextColor([in] LONG pColor);
Remarks
First high-order byte represents text opacity value, other bytes from higher to lower represent blue, green and red 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.