IUIX_Button::TextColor Property

From Tracker Software PDF SDK
Jump to: navigation, search
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}}
 
  
 
Gets or sets the button ''text color'' in RGBA notation.
 
Gets or sets the button ''text color'' in RGBA notation.

Revision as of 14:09, 14 May 2015

Gets or sets the 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.