IUIX_Button::TextColor Property
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 2: | Line 2: | ||
{{#customTitle:IUIX_Button::TextColor Property}} | {{#customTitle:IUIX_Button::TextColor Property}} | ||
{{#parentPage:PXV:IUIX_Button|TextColor Property|property}} | {{#parentPage:PXV:IUIX_Button|TextColor Property|property}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Gets/sets button ''text color'' in RGBA notation. | |
== Syntax == | == Syntax == | ||
Line 11: | Line 10: | ||
HRESULT put_TextColor([in] LONG pColor); | HRESULT put_TextColor([in] LONG pColor); | ||
</pre> | </pre> | ||
+ | |||
+ | == 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, | ||
+ | <pre class="brush:cpp;gutter:false">btn->put_TextColor(0xFF00FF00); | ||
+ | </pre> | ||
+ | will set button text color to green with 0% opacity value. | ||
== See Also == | == See Also == | ||
See also [[PXV:IUIX_Button|IUIX_Button]]. | See also [[PXV:IUIX_Button|IUIX_Button]]. |
Revision as of 00:54, 5 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
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.