Re: Another Printing Question
- From: "Anne DeBlois" <annedeblois@xxxxxxxxxxxxxxxx>
- Date: Tue, 4 Jul 2006 16:01:11 -0400
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@xxxxxx> a écrit dans le
message de news: eP1bmD6nGHA.3440@xxxxxxxxxxxxxxxxxxxxxxx
"Anne DeBlois" <annedeblois@xxxxxxxxxxxxxxxx> schrieb:
You can basically pass the scaled height and width to 'DrawImage'. Note
that backslashes inside string literals must not be escaped in VB.NET.
You mean I can pass parameters to the DrawImage method?
Yes, just check out the different overloads in the documentation or the
object browser.
Thank you very much!
As for the escaped backslashes, I had to do it because I got a first
chance exception (FileNotFound) using "simple" backslashes when
compiling... Someone suggested that I escape them.
Sorry, but that's nonsense for VB.NET -- are you sure you are using
VB.NET?!
Of course, I am using VB.NET in VS2005. And yeah, that's a nonsense but it
got me rid of that filenotfound exception at that time.
Anne
.
- References:
- Another Printing Question
- From: Anne DeBlois
- Re: Another Printing Question
- From: Herfried K. Wagner [MVP]
- Re: Another Printing Question
- From: Anne DeBlois
- Re: Another Printing Question
- From: Herfried K. Wagner [MVP]
- Another Printing Question
- Prev by Date: Re: Is microsoft awaring VB.Net too hard to maintain?
- Next by Date: Re: File.Exists not working.
- Previous by thread: Re: Another Printing Question
- Next by thread: System resource Hog
- Index(es):
Relevant Pages
|