Click here to Skip to main content
15,901,505 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to distribute class libraries Pin
Ennis Ray Lynch, Jr.30-Dec-06 17:41
Ennis Ray Lynch, Jr.30-Dec-06 17:41 
GeneralRe: How to distribute class libraries Pin
Luc Pattyn30-Dec-06 18:14
sitebuilderLuc Pattyn30-Dec-06 18:14 
QuestionLocal Database vs XML Pin
Libor Tinka30-Dec-06 0:32
Libor Tinka30-Dec-06 0:32 
AnswerRe: Local Database vs XML Pin
Sceptic Mole30-Dec-06 2:19
Sceptic Mole30-Dec-06 2:19 
AnswerRe: Local Database vs XML Pin
Lju230-Dec-06 12:43
Lju230-Dec-06 12:43 
AnswerRe: Local Database vs XML Pin
Paul Conrad30-Dec-06 13:26
professionalPaul Conrad30-Dec-06 13:26 
Questiondraw an antiAlias wmf Pin
Amar Chaudhary29-Dec-06 23:57
Amar Chaudhary29-Dec-06 23:57 
AnswerRe: liased draw an antiAlias wmf Pin
Dominik Reichl30-Dec-06 0:02
Dominik Reichl30-Dec-06 0:02 
Try setting the InterpolationMode property of the Graphics object to HighQualityBicubic (will give best results, though is the slowest method):

Graphics g;
g = e.Graphics;
g.InterpolationMode = InterpolationMode.HighQualityBicubic;
g.DrawImage(System.Drawing.Imaging.Metafile.FromFile("logo.wmf"), new Rectangle(0,0,200,200));

Instead of HighQualityBicubic, you can also use a different mode, for example Bilinear, if speed is necessary.



Too many passwords to remember? Try KeePass Password Safe!

GeneralRe: draw an antiAlias wmf Pin
Amar Chaudhary30-Dec-06 0:12
Amar Chaudhary30-Dec-06 0:12 
QuestionUnzip files Pin
vin107029-Dec-06 19:45
vin107029-Dec-06 19:45 
AnswerRe: Unzip files Pin
Dominik Reichl29-Dec-06 22:59
Dominik Reichl29-Dec-06 22:59 
AnswerRe: Unzip files Pin
Luc Pattyn30-Dec-06 2:23
sitebuilderLuc Pattyn30-Dec-06 2:23 
QuestionAlternate control for DSO Framer in .net Pin
indian14329-Dec-06 19:38
indian14329-Dec-06 19:38 
QuestionNewbie struggling with calling other methods Pin
JHR129-Dec-06 17:43
JHR129-Dec-06 17:43 
AnswerRe: Newbie struggling with calling other methods Pin
Luc Pattyn29-Dec-06 18:46
sitebuilderLuc Pattyn29-Dec-06 18:46 
AnswerRe: Newbie struggling with calling other methods Pin
Luc Pattyn30-Dec-06 2:42
sitebuilderLuc Pattyn30-Dec-06 2:42 
AnswerMain is a static method Pin
Ennis Ray Lynch, Jr.30-Dec-06 17:48
Ennis Ray Lynch, Jr.30-Dec-06 17:48 
GeneralRe: Main is a static method Pin
JHR12-Jan-07 6:13
JHR12-Jan-07 6:13 
QuestionFailed to edit web.config [modified] Pin
Johny Ng29-Dec-06 14:15
Johny Ng29-Dec-06 14:15 
AnswerRe: Failed to edit web.config Pin
Mircea Puiu29-Dec-06 23:11
Mircea Puiu29-Dec-06 23:11 
QuestionBin to Dec & Dec to Bin Pin
CodeItWell29-Dec-06 11:20
CodeItWell29-Dec-06 11:20 
AnswerRe: Bin to Dec & Dec to Bin Pin
Paul Conrad29-Dec-06 14:08
professionalPaul Conrad29-Dec-06 14:08 
GeneralRe: Bin to Dec & Dec to Bin Pin
CodeItWell29-Dec-06 22:27
CodeItWell29-Dec-06 22:27 
GeneralRe: Bin to Dec & Dec to Bin Pin
Luc Pattyn30-Dec-06 2:26
sitebuilderLuc Pattyn30-Dec-06 2:26 
GeneralRe: Bin to Dec & Dec to Bin Pin
CodeItWell30-Dec-06 3:27
CodeItWell30-Dec-06 3:27 

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.