Welcome to Dream.In.Code
Getting C# Help is Easy!

Join 136,060 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 1,602 people online right now. Registration is fast and FREE... Join Now!




size of the Bitmap

 
Reply to this topicStart new topic

size of the Bitmap

algates0027@gmail.com
3 Apr, 2008 - 11:56 PM
Post #1

New D.I.C Head
*

Joined: 3 Apr, 2008
Posts: 1


how can i vary the size of the Bitmap...?......
using get set or some other way....


Bitmap image=new Bitmap(100,100);

but while coding

if we want to increase the size of the bitmap 100,100 to 300,300 how it is possible..??

Regards,
ALGATES
User is offlineProfile CardPM
+Quote Post

zakary
RE: Size Of The Bitmap
4 Apr, 2008 - 03:56 AM
Post #2

D.I.C Regular
Group Icon

Joined: 15 Feb, 2005
Posts: 404



Thanked: 6 times
Dream Kudos: 175
My Contributions
you need to create to variables like int x =0; and int y=0; then you can programmatically assign values to x and y then pass them in to your image size Bitmap image=new Bitmap(x,y);
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 06:26PM

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month