.net 我想设置“文本”;前景“;在流程文档中使用rgb
我想在FlowDocument中用rgb设置文本“前景” 我该怎么做.net 我想设置“文本”;前景“;在流程文档中使用rgb,.net,xaml,flowdocument,.net,Xaml,Flowdocument,我想在FlowDocument中用rgb设置文本“前景” 我该怎么做 String ^text = "<FlowDocument \ xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\" \ xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\" \ <Paragraph> \ <Span FontSize=\"18\" Foregr
String ^text = "<FlowDocument \
xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\" \
xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\" \
<Paragraph> \
<Span FontSize=\"18\" Foreground=\"Red\">Some text in the paragraph.</Span> \
Some text that is not bold. \
</Paragraph> \
</FlowDocument> ";
String^text=“您需要以十六进制格式表示argb,其中a=ff,r=01,g=02,b=03
Foreground=\"ff010203\"