Solved

Print contents of Richtextbox loop each character

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…

734 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