■ FlowDocument 클래스를 사용하는 기본적인 방법을 보여준다.
▶ 예제 코드 (C#)
1 2 3 4 5 6 7 |
using System.Windows.Documents; FlowDocument flowDocument = new FlowDocument(new Paragraph(new Run("A bit of text content..."))); flowDocument.Blocks.Add(new Paragraph(new Run("Text to append..."))); |