IColor::Value Property

From PDF XChange PDF SDK
Jump to: navigation, search


Property sValue of interface IColor returns/sets Value of BSTR containing the string representation of the color's value.
The possible value types are:

  • 'A' or 'a' - ColorType_Auto
  • 'D' or 'd' - ColorType_Default
  • 'N' or 'n' or '-' - ColorType_None
  • All other values:

"#XXXXXX"
"RGB(1,..)"
"RGBD(1,..)"
"CMYK(1,..)"
"Gray(1)"
"G(1)"
"COLOR(NAME)

  • COLOR types:

"3DFACE",
"3DDKSHADOW",
"3DFACE",
"3DHIGHLIGHT",
"3DLIGHT",
"3DSHADOW",
"ACTIVEBORDER",
"ACTIVECAPTION",
"APPWORKSPACE",
"BACKGROUND",
"BTNTEXT",
"CAPTIONTEXT",
"GRAYTEXT",
"HIGHLIGHT",
"HIGHLIGHTTEXT",
"INACTIVEBORDER",
"INACTIVECAPTION",
"INACTIVECAPTIONTEXT",
"INFOBK",
"INFOTEXT",
"MENU",
"MENUTEXT",
"SCROLLBAR",
"WINDOW",
"WINDOWFRAME",
"WINDOWTEXT"

Syntax

HRESULT get_Value([out, retval]  BSTR*  sValue);
HRESULT put_Value([in]  BSTR  sValue);

See Also

IColor