Click here to Skip to main content
15,906,645 members
Home / Discussions / C#
   

C#

 
AnswerRe: DrawToBitmap C# Pin
Shree22-May-08 1:32
Shree22-May-08 1:32 
GeneralRe: DrawToBitmap C# Pin
topcatalpha22-May-08 4:54
topcatalpha22-May-08 4:54 
AnswerRe: DrawToBitmap C# Pin
Gareth H22-May-08 2:17
Gareth H22-May-08 2:17 
GeneralRe: DrawToBitmap C# Pin
omlac22-May-08 21:01
omlac22-May-08 21:01 
AnswerRe: DrawToBitmap C# Pin
Reelix22-May-08 2:48
Reelix22-May-08 2:48 
GeneralRe: DrawToBitmap C# Pin
omlac22-May-08 21:53
omlac22-May-08 21:53 
GeneralRe: DrawToBitmap C# Pin
omlac22-May-08 22:58
omlac22-May-08 22:58 
GeneralRe: DrawToBitmap C# Pin
Member 31442519-Jun-11 23:50
Member 31442519-Jun-11 23:50 
<!-- language: lang-vb -->

Panel1.Dock = DockStyle.None ' If Panel Dockstyle is in Fill mode
Panel1.Width = 5000 ' Original Size without scrollbar
Panel1.Height = 5000 ' Original Size without scrollbar

Dim bmp As New Bitmap(Me.Panel1.Width, Me.Panel1.Height)
Me.Panel1.DrawToBitmap(bmp, New Rectangle(0, 0, Me.Panel1.Width, Me.Panel1.Height))
'Me.Panel1.DrawToBitmap(bmp, Panel1.ClientRectangle)
bmp.Save("C:\panel.jpg", System.Drawing.Imaging.ImageFormat.Jpeg)

Panel1.Dock = DockStyle.Fill

**Note:** Its working fine

I have no idea for printing but I think it will be useful to you

Regards

R Muruganandhan
ShipNet Software Solutions India Pvt Ltd, Chennai
QuestionExporting Functionality in C#.Net Pin
janak@tatva22-May-08 1:07
janak@tatva22-May-08 1:07 
AnswerRe: Exporting Functionality in C#.Net Pin
Ashfield22-May-08 1:27
Ashfield22-May-08 1:27 
GeneralRe: Exporting Functionality in C#.Net Pin
janak@tatva22-May-08 1:34
janak@tatva22-May-08 1:34 
GeneralRe: Exporting Functionality in C#.Net Pin
Ashfield22-May-08 2:04
Ashfield22-May-08 2:04 
AnswerRe: Exporting Functionality in C#.Net Pin
Laddie22-May-08 1:29
Laddie22-May-08 1:29 
GeneralRe: Exporting Functionality in C#.Net Pin
janak@tatva22-May-08 1:37
janak@tatva22-May-08 1:37 
GeneralRe: Exporting Functionality in C#.Net Pin
Reelix22-May-08 2:52
Reelix22-May-08 2:52 
GeneralRe: Exporting Functionality in C#.Net Pin
janak@tatva22-May-08 2:59
janak@tatva22-May-08 2:59 
AnswerRe: Exporting Functionality in C#.Net Pin
topcatalpha22-May-08 4:50
topcatalpha22-May-08 4:50 
Questionusing c# 2003 to access microsoft word documents 2003 how????? Pin
Miss_hacker22-May-08 1:02
Miss_hacker22-May-08 1:02 
AnswerRe: using c# 2003 to access microsoft word documents 2003 how????? Pin
Shree22-May-08 1:23
Shree22-May-08 1:23 
GeneralRe: using c# 2003 to access microsoft word documents 2003 how????? Pin
Miss_hacker22-May-08 2:41
Miss_hacker22-May-08 2:41 
GeneralRe: using c# 2003 to access microsoft word documents 2003 how????? Pin
leckey22-May-08 3:41
leckey22-May-08 3:41 
QuestionAdd an icon to the application Pin
ananthrahul22-May-08 0:13
ananthrahul22-May-08 0:13 
AnswerRe: Add an icon to the application Pin
Shree22-May-08 0:49
Shree22-May-08 0:49 
GeneralRe: Add an icon to the application Pin
ananthrahul22-May-08 1:27
ananthrahul22-May-08 1:27 
AnswerRe: Add an icon to the application Pin
John_Adams22-May-08 0:54
John_Adams22-May-08 0:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.