0
Я хочу установить текст «Foreground» с rgb в FlowDocument.Я хочу установить текст «Foreground» с rgb в FlowDocument
Как я могу это сделать?
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> ";