Solved

Print contents of Richtextbox loop each character

Posted on 2008-09-30
2
371 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Stressed Out?

Watch some penguins on the livecam!

Question has a verified solution.

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

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

615 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