开发者

Printing Silverlight 4 RichTextBox content

I am using S开发者_StackOverflowilverlight 4 RichTextBox to capture data that will be printed. My problem is when I print using the code below the border surrounding the RichTextBox is also printed, even when BorderThickness is set to 0.

  PrintDocument theDoc = new PrintDocument();
            theDoc.PrintPage += (s, args) =>
            {
                args.PageVisual = MyRTB;
                args.HasMorePages = false;
            };


Sorted with BorderBrush="{x:Null}"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜