Solved

Print contents of Richtextbox loop each character

Posted on 2008-09-30
2
367 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

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…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

830 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