You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My powerpoint Version :PowerPoint2016 MSO(16.0.4266.1001)
textBox.TextFrame!.Paragraphs[0].Portions[0].Font.ColorFormat.SetColorByHex("#FF0000");
The color value has changed,But there is no effect in the ppt.
Below is the code in the PPT when it does not work. <a:p> <a:pPr> <a:spcBef> <a:spcPct val="0"/> </a:spcBef> <a:buFont typeface="Arial" panose="020B0604020202020204" pitchFamily="34" charset="0"/> <a:buNone/> </a:pPr> <a:r> <a:rPr lang="zh-CN" altLang="en-US" sz="1400" dirty="0"> <a:solidFill> <a:srgbClr val="FF0000"/> </a:solidFill> <a:latin typeface="Arial" panose="020B0503020204020204" pitchFamily="34" charset="-122"/> <a:ea typeface="微软雅黑" panose="020B0503020204020204" pitchFamily="34" charset="-122"/> </a:rPr> <a:t>GoodColor</a:t> </a:r> </a:p>
Here is the code in the PPT when it works. <a:p> <a:pPr> <a:spcBef> <a:spcPct val="0"/> </a:spcBef> <a:buFont typeface="Arial" panose="020B0604020202020204" pitchFamily="34" charset="0"/> <a:buNone/> </a:pPr> <a:r> <a:rPr lang="zh-CN" altLang="en-US" sz="1600"> <a:latin typeface="微软雅黑" panose="020B0503020204020204" pitchFamily="34" charset="-122"/> <a:ea typeface="微软雅黑" panose="020B0503020204020204" pitchFamily="34" charset="-122"/> <a:solidFill> <a:srgbClr val="FF0000"/> </a:solidFill> </a:rPr> <a:t>GoodColor</a:t> </a:r> </a:p>
It may be the position of 'srgbClr' that determines whether it works properly or not;
This problem may only be found in certain versions of the ppt;
The text was updated successfully, but these errors were encountered:
My powerpoint Version :PowerPoint2016 MSO(16.0.4266.1001)
textBox.TextFrame!.Paragraphs[0].Portions[0].Font.ColorFormat.SetColorByHex("#FF0000");
The color value has changed,But there is no effect in the ppt.
Below is the code in the PPT when it does not work.
<a:p> <a:pPr> <a:spcBef> <a:spcPct val="0"/> </a:spcBef> <a:buFont typeface="Arial" panose="020B0604020202020204" pitchFamily="34" charset="0"/> <a:buNone/> </a:pPr> <a:r> <a:rPr lang="zh-CN" altLang="en-US" sz="1400" dirty="0"> <a:solidFill> <a:srgbClr val="FF0000"/> </a:solidFill> <a:latin typeface="Arial" panose="020B0503020204020204" pitchFamily="34" charset="-122"/> <a:ea typeface="微软雅黑" panose="020B0503020204020204" pitchFamily="34" charset="-122"/> </a:rPr> <a:t>GoodColor</a:t> </a:r> </a:p>
Here is the code in the PPT when it works.
<a:p> <a:pPr> <a:spcBef> <a:spcPct val="0"/> </a:spcBef> <a:buFont typeface="Arial" panose="020B0604020202020204" pitchFamily="34" charset="0"/> <a:buNone/> </a:pPr> <a:r> <a:rPr lang="zh-CN" altLang="en-US" sz="1600"> <a:latin typeface="微软雅黑" panose="020B0503020204020204" pitchFamily="34" charset="-122"/> <a:ea typeface="微软雅黑" panose="020B0503020204020204" pitchFamily="34" charset="-122"/> <a:solidFill> <a:srgbClr val="FF0000"/> </a:solidFill> </a:rPr> <a:t>GoodColor</a:t> </a:r> </a:p>
It may be the position of 'srgbClr' that determines whether it works properly or not;
This problem may only be found in certain versions of the ppt;
The text was updated successfully, but these errors were encountered: