How to change bitmap size before the paint event?
How to change bitmap size before the paint event?
How to change bitmap size before the paint event?
How to change bitmap size before the paint event?
How to change bitmap size before the paint event?
How to change bitmap size before the paint event? How to change bitmap size before the paint event? How to change bitmap size before the paint event? How to change bitmap size before the paint event? How to change bitmap size before the paint event? How to change bitmap size before the paint event? How to change bitmap size before the paint event? How to change bitmap size before the paint event?
How to change bitmap size before the paint event? How to change bitmap size before the paint event?
How to change bitmap size before the paint event?
Go Back  Xtreme Visual Basic Talk > > > How to change bitmap size before the paint event?


Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2014, 10:39 PM
Under Study Under Study is offline
Regular
 
Join Date: Jul 2008
Posts: 83
Default How to change bitmap size before the paint event? *Problem Solved*


*Edit - Im dumb and figured out my problem just after i posted this.
________________________________________________________


Im not sure if this is really easy and I don't understand it or if it just can't happen...

Basically all I want to do is preset my bitmap's size before the paint event. Like if my .jpg is 300 by 300 and i want to display it as a 100 by 100. Everything ive googled has it change the size, of either a bitmap or a graphic, in the code within the paint event, i just want to do it before. Is this possible? Or do i need to actually edit my .jpg file?

Thanks in advance!

Last edited by Under Study; 01-10-2014 at 11:48 PM.
Reply With Quote
  #2  
Old 01-29-2014, 10:09 AM
Goggy's Avatar
Goggy Goggy is offline
Contributor
 
Join Date: Sep 2005
Location: Enschede,The Netherlands
Posts: 670
Default

The painting is actually done at the end of the paint event... so what ever you do in the event is before it actually is drawn.
I'm not sure what you are trying to accomplish, but in most cases you should be fine with just the paint event.
__________________
As finishing touch, god created the Dutch!

utterly useless, but always trying to help
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
How to change bitmap size before the paint event?
How to change bitmap size before the paint event?
How to change bitmap size before the paint event? How to change bitmap size before the paint event?
How to change bitmap size before the paint event?
How to change bitmap size before the paint event?
How to change bitmap size before the paint event? How to change bitmap size before the paint event? How to change bitmap size before the paint event? How to change bitmap size before the paint event? How to change bitmap size before the paint event? How to change bitmap size before the paint event? How to change bitmap size before the paint event?
How to change bitmap size before the paint event?
How to change bitmap size before the paint event?
 
How to change bitmap size before the paint event?
How to change bitmap size before the paint event?
 
-->