Solved

How do i print contents of multiline richtextbox

Posted on 2003-11-01
1
237 Views
Last Modified: 2010-05-01
How do i print contents of multiline richtextbox, i am using

printer.currentX = textbox.left
printer.print (textbox.text)

   it works fine if there is single line, but if i have more than one line, it prints first line at proper position than next line continuosly print on the same line. there is not line break while printing multiple lines.

  i need to print all lines left aligned at specific position.

 it is very urgent, please help me, thanks in advance for you reply.
0
Comment
Question by:nirmal_4194
1 Comment
 
LVL 1

Accepted Solution

by:
fsaims earned 20 total points
Comment Utility
Check out this article about RichTextBox Printing
http://www.developerfusion.com/show/244/
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

772 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