CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2001
    Posts
    47

    Creating a Bitmap Object

    I am working on developing a small program that will allow me to write some text to a bitmap and then save that bitmap.

    Can someone point me to a tutorial on creating a bitmap object and being about to draw to it (like with the 'Print' command)?

    I relize I can write to a PictureBox and save it as a bitmap (at least, I think I can), but am not sure how to save that bitmap as a size other then what is in the PictureBox. The image can be as large as 740x480... that's a big PictureBox.

    Many thanks for any help!


  2. #2
    Join Date
    Mar 1999
    Location
    Nepal
    Posts
    540

    Re: Creating a Bitmap Object

    A solution would be to create the BIG picturebox, but keep it hidden and allow only a window of it to be shown. I have posted a code to make a scrollable picturebox at

    http://codeguru.com/cgi-bin/bbs/wt/s...b&Number=52197



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured