Friday, November 21, 2008
Simple, worthwhile printing in .Net

Some folks hate graphics coding. A guy I know told me that when he sees "X,Y" he starts running. Gotta say (because I've ended up doing a lot of XYs in most every language I've used)... the thing I fear is adding a huge image processing 3rd party widget to my apps ... they never seem to do exactly what is needed and they always take up too many resources (oh, and they are never inexpensive!).

Here comes .net, again, with a way to make old hardships easier.

This demo shows how to use System.Drawing to do something useful: Print cd case inserts and optional back-covers. That means printing rectangles, text and rotated text. What's more it shows how to use the Print Preview Dialog class and, not related at all to graphics, how to use the link label control for sending email and visiting websites with different handlers (just for fun).

Here's what you get:



Click here to get the executable and form file (just 11k!). Remember to add a reference to System.Drawing.Dll in your apps.

btw: yes, the print preview dialog and print preview control
(which allows you to host the preview on a form)
are free versions of the Videosoft/ComponentOne VSView

And, yes, the ComponentOne .net suite is definitely worth the price, period.

 

Hope that helps!

Robert Smith
Kirkland, WA

 

added to smithvoice June 2002


Print  

pagecomment
  Add Comment



Submit Comment
  View Ratings
50.00%0
40.00%0
30.00%0
20.00%0
10.00%0

Number of Comments 0 , Average of Ratings
  View Comments
No comment.


Privacy Statement  |  Terms Of Use
Copyright 2008 by Robert C. Smith