コード例 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="content"></param>
        /// <param name="option"></param>
        private void append(string content, RichRunOption option)
        {
            Run myRun = new Run(content);

            myRun.Foreground = option._Foreground;
            myRun.FontWeight = option._FontWeight;
            myRun.FontSize   = option._FontSize;
            myRun.FontFamily = option._FontFamily;
            _richFlowParagraph.Inlines.Add(myRun);
        }
コード例 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="content"></param>
 /// <param name="option"></param>
 public void AppendLine(string content, RichRunOption option)
 {
     append(content + Environment.NewLine, option);
 }
コード例 #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="content"></param>
 /// <param name="option"></param>
 public void Append(string content, RichRunOption option)
 {
     append(content, option);
 }