IUIX_Button::TextColor Property
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_Button::TextColor Property}} | {{#customTitle:IUIX_Button::TextColor Property}} | ||
− | {{#parentPage:PXV:IUIX_Button|TextColor | + | {{#parentPage:PXV:IUIX_Button#Properties|TextColor|property}} |
− | + | ||
Gets or sets the button ''text color'' in RGBA notation. | Gets or sets the button ''text color'' in RGBA notation. | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT get_TextColor([out, retval] LONG* | + | <pre class="brush:cpp;gutter:false">HRESULT get_TextColor([out, retval] LONG* nColor); |
− | HRESULT put_TextColor([in] LONG | + | HRESULT put_TextColor([in] LONG nColor); |
</pre> | </pre> | ||
== 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, | 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> | ||
− | |||
== See Also == | == See Also == | ||
− | + | [[PXV:IUIX_Button|IUIX_Button]] |
Latest revision as of 03:11, 15 June 2015
Gets or sets the button text color in RGBA notation.
Syntax
HRESULT get_TextColor([out, retval] LONG* nColor); HRESULT put_TextColor([in] LONG nColor);
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);