Solved

Print contents of Richtextbox loop each character

Posted on 2008-09-30
2
365 Views
Last Modified: 2012-05-05
How do I print out the contents of a richtextbox control in VB.Net? code using the PrintDocument object that loops throught the text character by character, write code to interpret every different attribute, e.g. fontname, font size, style, and apply them to each character.
0
Comment
Question by:sushantjain
2 Comments
 
LVL 47

Accepted Solution

by:
Wayne Taylor (webtubbs) earned 500 total points
ID: 22611921
You can use an Extended Richtextbox class, which makes printing easier....

"Getting WYSIWYG Print Results from a .NET RichTextBox"
http://msdn.microsoft.com/en-us/library/ms996492.aspx#wnf_richtextbox_topic06

Wayne
0
 

Author Closing Comment

by:sushantjain
ID: 31501861
Thanks.U R Wonderful
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now