473,394 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

DrawToBitmap

Hi there,

I have a form with a few controls on, some of them are controls I have
made. Anyway, when I call DrawToBitmap on the form all looks fine except
for the controls I have made, they have a strange little symbol at the
bottom right hand corner of the image.

Any ideas on how to get rid of this so it looks like it does on the
form?

Thanks loads in avance.

Nick.
Sep 22 '06 #1
2 2541
"NickP" <a@a.comschrieb:
I have a form with a few controls on, some of them are controls I have
made. Anyway, when I call DrawToBitmap on the form all looks fine except
for the controls I have made, they have a strange little symbol at the
bottom right hand corner of the image.
What does the symbol show?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Sep 22 '06 #2
Hi Herfried,

Doh! I'm an idiot! It was a control hidden behind another control, as
its visible property wasnt being set to false it was somehow drawing ontop
of the control in the foreground! Sorted now anyway, thanks for your time.

Nick.

"Herfried K. Wagner [MVP]" <hi***************@gmx.atwrote in message
news:OV**************@TK2MSFTNGP02.phx.gbl...
"NickP" <a@a.comschrieb:
>I have a form with a few controls on, some of them are controls I have
made. Anyway, when I call DrawToBitmap on the form all looks fine except
for the controls I have made, they have a strange little symbol at the
bottom right hand corner of the image.

What does the symbol show?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Sep 22 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Danny Tuppeny | last post by:
The MSDN page for this method reads: --------- Quote --------- WebBrowserBase.DrawToBitmap Method Note: This method is new in the .NET Framework version 2.0. This method supports the .NET...
6
by: powella | last post by:
Hello All, I've recently discovered the DrawToBitmap method hidden away in the Control class (in .NET 2.0). What a fantastic addition to the class. I'm having some degree of difficulty using...
1
by: GM | last post by:
Hello, I have visual studio 2005 on XP SP2. I have a simple sample application using a webbrowser and 2 buttons. Button1 loads the page Button2 saves the screenshot But for some reason the...
0
by: Prosperz | last post by:
Hi, I would like if there is a way to use DrawToBitmap with a WebBrowser control in Framework 2.0. In MSDN I found this method is not implemented for this control. Thanks.
6
by: randy1200 | last post by:
I'm using Visual Studio 2005 and C#. I need to print a WinForm used for data entry as a graphic. In other words, I need to print the exact WinForm the user sees on the screen. I searched through...
4
by: Technical | last post by:
Greetings, I am currently working on a project that requires that the contents of a RichTextBox control be drawn to a bitmap. I have attempted nearly everything including using calls into the...
0
by: Joey | last post by:
I want to use DrawToBitmap to generate a "thumbnail" graphic reflecting a particular web page. The following code successfully generates a graphic of the web page being viewed in the WebBrowser...
0
by: RedLars | last post by:
Though I'd start of this post with a some background information. In an application we are developing we needed a treeview that could check, uncheck and disable individual nodes. This was not...
1
by: omlac omlac | last post by:
Hi, im having a problem with drawtobitmap in C# when i call the method its not printing the contents of a control. in my case richtext format, my code is below; Bitmap bi = new...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.