Solved

Print contents of Richtextbox loop each character

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

11 Experts available now in Live!

Get 1:1 Help Now