K
kippi
Hello*,
I access Visio Shape colors in C++ as follows:
m_VCell.AttachDispatch(m_VShape1.GetCellsSRC(VISSECTIONOBJECT,
VISROWFILL, VISFILLFOREGND));
CString sColorNew = m_VCell.GetFormula();
(VISSECTIONOBJECT, VISROWFILL, VISFILLFOREGND are #define values.)
According to Visio Version (2003 - 2010) I get as sColorNew either
the RGB(...) value or something as "THEMEGUARD(THEME("AccentColor2");
24)".
How can I convert THEMEGUARD(...) in RGB(...) ?
Thanks for any hint!
Václav
I access Visio Shape colors in C++ as follows:
m_VCell.AttachDispatch(m_VShape1.GetCellsSRC(VISSECTIONOBJECT,
VISROWFILL, VISFILLFOREGND));
CString sColorNew = m_VCell.GetFormula();
(VISSECTIONOBJECT, VISROWFILL, VISFILLFOREGND are #define values.)
According to Visio Version (2003 - 2010) I get as sColorNew either
the RGB(...) value or something as "THEMEGUARD(THEME("AccentColor2");
24)".
How can I convert THEMEGUARD(...) in RGB(...) ?
Thanks for any hint!
Václav