M a r k y o l o g i s t

"After three days without programming, life becomes meaningless." - The Tao of Programming

About the author

Author Name is someone.
E-mail me Send mail

Recent posts

Recent comments

Tags

Don't show

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2008

    Printing the .NET TreeView Control

     So I submitted an article to CodeProject a few years ago about how to print the .Net TreeView control. I pretty much abandoned it after that. I got a couple of emails about it recently, so I thought I should update it. It is now a Visual Studio 2005 project and I fixed a problem with a Win32 call.

    Link to Printing the .NET TreeView Control - The Code Project - C# Programming

    Be the first to rate this post

    • Currently 0/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5

    Posted by markyologist on Thursday, January 25, 2007 10:31 PM
    Permalink | Comments (5) | Post RSSRSS comment feed

    Related posts

    Comments

    Doug LaMar

    Friday, March 30, 2007 11:12 AM

    Doug LaMar

    Would you by chance have a VB.Net translation of this.

    Sergio

    Wednesday, April 04, 2007 5:17 AM

    Sergio

    Have you the VS 2003 project?
    Thanks!!!

    Sergio

    Thursday, April 05, 2007 4:41 AM

    Sergio

    Can you givme the VS 2003 code, please?
    Thanks!

    Hemant

    Tuesday, August 14, 2007 5:00 AM

    Hemant

    Hi Mark,

    I have gone thru your article in codeproject web site. I loved it. But i need one more help or maybe your guidance here. I have been asked to display the treeview in crystal reports. I don't know exactly how to do this. But, I have been successful in displaying the images dynamically in the crystal report. So, what i thought is to convert the tree view to jpg type image and then load it to crystal report to achive the goal. But while trying to save the treeview in jpg format, i see only the black screen. Any ideas on how to plot the treeview to crystal report or convert the treeview to jpg image.

    Thanx,
    Hemant

    Peter Maslin

    Wednesday, December 12, 2007 3:55 AM

    Peter Maslin

    Hi

    im trying to use your code , but i keep getting an Parameter is not valid.

    error on the line
    g.DrawImage(this._controlImage, destRect, sourceRect, GraphicsUnit.Pixel);

    in the printDoc_PrintPage function , do you have any suggestions.

    this is in the sample code i downloaded as well.

    Add comment


    (Will show your Gravatar icon)  

      Country flag

    [b][/b] - [i][/i] - [u][/u]- [quote][/quote]



    Live preview

    Wednesday, December 03, 2008 5:56 AM