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

C#

 
GeneralRe: I need critique on this code Pin
AspDotNetDev11-Feb-10 16:38
protectorAspDotNetDev11-Feb-10 16:38 
GeneralRe: I need critique on this code Pin
PIEBALDconsult12-Feb-10 5:16
mvePIEBALDconsult12-Feb-10 5:16 
GeneralRe: I need critique on this code Pin
AspDotNetDev12-Feb-10 8:25
protectorAspDotNetDev12-Feb-10 8:25 
QuestionAutomatically Install an update after download Pin
PDTUM11-Feb-10 13:23
PDTUM11-Feb-10 13:23 
AnswerRe: Automatically Install an update after download Pin
Dan Mos11-Feb-10 13:59
Dan Mos11-Feb-10 13:59 
AnswerRe: Automatically Install an update after download Pin
Not Active11-Feb-10 13:59
mentorNot Active11-Feb-10 13:59 
QuestionPrintDocument margins ignored Pin
Eli Nurman11-Feb-10 13:09
Eli Nurman11-Feb-10 13:09 
AnswerRe: PrintDocument margins ignored Pin
Dr.Walt Fair, PE11-Feb-10 16:17
professionalDr.Walt Fair, PE11-Feb-10 16:17 
I've run into similar problems and honestly haven't found a good way around them. You see, in my case, people can change the printer selection and so my program doesn't really know what margins a printer may have, etc. The best I can tell, you can specify margins, etc, but the system doesn't enforce them automatically. At least with the lower level functions, it's up to your code to enforce the margins.

My solution kludge was to compute the page margins in pixels for each device and then blank the margin rectangles after drawing and before printing each page. Don't forget that the PixelsPerInch numbers can be pretty strange for different devices.

Perhaps someone else has a better solution.
CQ de W5ALT

Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software


GeneralRe: PrintDocument margins ignored Pin
Eli Nurman11-Feb-10 19:27
Eli Nurman11-Feb-10 19:27 
QuestionPROBLEM WITH WEBBROWSER AND PDF Pin
Maria_Esteba11-Feb-10 11:22
Maria_Esteba11-Feb-10 11:22 
AnswerRe: PROBLEM WITH WEBBROWSER AND PDF [modified] Pin
Garth J Lancaster11-Feb-10 12:49
professionalGarth J Lancaster11-Feb-10 12:49 
AnswerRe: PROBLEM WITH WEBBROWSER AND PDF Pin
The Man from U.N.C.L.E.11-Feb-10 12:58
The Man from U.N.C.L.E.11-Feb-10 12:58 
AnswerRe: PROBLEM WITH WEBBROWSER AND PDF Pin
Luc Pattyn11-Feb-10 12:58
sitebuilderLuc Pattyn11-Feb-10 12:58 
AnswerRe: PROBLEM WITH WEBBROWSER AND PDF Pin
Luc Pattyn11-Feb-10 13:22
sitebuilderLuc Pattyn11-Feb-10 13:22 
QuestionRaise an event whenever a property’s value changed ? Pin
Mohammad Dayyan11-Feb-10 7:43
Mohammad Dayyan11-Feb-10 7:43 
AnswerRe: Raise an event whenever a property’s value changed ? Pin
Not Active11-Feb-10 8:18
mentorNot Active11-Feb-10 8:18 
GeneralRe: Raise an event whenever a property’s value changed ? Pin
Ennis Ray Lynch, Jr.11-Feb-10 11:20
Ennis Ray Lynch, Jr.11-Feb-10 11:20 
GeneralRe: Raise an event whenever a property’s value changed ? Pin
The Man from U.N.C.L.E.11-Feb-10 13:08
The Man from U.N.C.L.E.11-Feb-10 13:08 
GeneralRe: Raise an event whenever a property’s value changed ? Pin
Ennis Ray Lynch, Jr.11-Feb-10 15:46
Ennis Ray Lynch, Jr.11-Feb-10 15:46 
GeneralRe: Raise an event whenever a property’s value changed ? Pin
The Man from U.N.C.L.E.12-Feb-10 3:45
The Man from U.N.C.L.E.12-Feb-10 3:45 
AnswerRe: Raise an event whenever a property’s value changed ? Pin
The Man from U.N.C.L.E.12-Feb-10 3:47
The Man from U.N.C.L.E.12-Feb-10 3:47 
GeneralRe: Raise an event whenever a property’s value changed ? Pin
Mohammad Dayyan12-Feb-10 5:50
Mohammad Dayyan12-Feb-10 5:50 
Questionremote delegate handling Pin
kasraa0009800011-Feb-10 7:33
kasraa0009800011-Feb-10 7:33 
AnswerRe: remote delegate handling Pin
#realJSOP11-Feb-10 7:39
professional#realJSOP11-Feb-10 7:39 
GeneralRe: remote delegate handling Pin
kasraa0009800011-Feb-10 22:19
kasraa0009800011-Feb-10 22:19 

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.