Click here to Skip to main content
14,429,185 members
   

C#

 
GeneralRe: DrawString with opacity option not print properly Pin
Le@rner29-Nov-19 22:23
MemberLe@rner29-Nov-19 22:23 
GeneralRe: DrawString with opacity option not print properly Pin
OriginalGriff29-Nov-19 22:29
communityengineerOriginalGriff29-Nov-19 22:29 
GeneralRe: DrawString with opacity option not print properly Pin
Le@rner29-Nov-19 22:30
MemberLe@rner29-Nov-19 22:30 
GeneralRe: DrawString with opacity option not print properly Pin
OriginalGriff29-Nov-19 22:30
communityengineerOriginalGriff29-Nov-19 22:30 
GeneralRe: DrawString with opacity option not print properly Pin
Le@rner29-Nov-19 22:35
MemberLe@rner29-Nov-19 22:35 
GeneralRe: DrawString with opacity option not print properly Pin
OriginalGriff29-Nov-19 22:41
communityengineerOriginalGriff29-Nov-19 22:41 
GeneralRe: DrawString with opacity option not print properly Pin
Le@rner29-Nov-19 23:06
MemberLe@rner29-Nov-19 23:06 
GeneralRe: DrawString with opacity option not print properly Pin
OriginalGriff29-Nov-19 23:33
communityengineerOriginalGriff29-Nov-19 23:33 
OK - I'm trying to duplicate exactly what you have, but ... your code won't compile without errors and I don't want to fix them in case I "fix them wrong".
For example:
RectangleF dr_rect = new RectangleF(new Point(X, Y, new Size(image_draw_wd, ((int)sz.Height) + extra_margin));
Missing a close bracket (at a guess, after the "Point(X, Y" is where it goes).
PrintPageEventArgs doesn't contain methods MeasureString, TranslateTransform, and RotateTransform: PrintPageEventAgrs.Graphics does.

If that is copy'n'pasted from your app, then it's possible you are testing an older version of your source - in which case the display fault may no longer exist if you fix that code.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!

GeneralRe: DrawString with opacity option not print properly Pin
OriginalGriff29-Nov-19 23:39
communityengineerOriginalGriff29-Nov-19 23:39 
GeneralRe: DrawString with opacity option not print properly Pin
Le@rner30-Nov-19 0:20
MemberLe@rner30-Nov-19 0:20 
GeneralRe: DrawString with opacity option not print properly Pin
OriginalGriff30-Nov-19 0:23
communityengineerOriginalGriff30-Nov-19 0:23 
GeneralRe: DrawString with opacity option not print properly Pin
OriginalGriff30-Nov-19 0:29
communityengineerOriginalGriff30-Nov-19 0:29 
GeneralRe: DrawString with opacity option not print properly Pin
Le@rner30-Nov-19 0:44
MemberLe@rner30-Nov-19 0:44 
GeneralRe: DrawString with opacity option not print properly Pin
OriginalGriff30-Nov-19 0:55
communityengineerOriginalGriff30-Nov-19 0:55 
GeneralRe: DrawString with opacity option not print properly Pin
Le@rner30-Nov-19 1:03
MemberLe@rner30-Nov-19 1:03 
GeneralRe: DrawString with opacity option not print properly Pin
OriginalGriff30-Nov-19 1:11
communityengineerOriginalGriff30-Nov-19 1:11 
QuestionDialogue box disappears when I search in the combo box Pin
Member 1326263928-Nov-19 18:43
MemberMember 1326263928-Nov-19 18:43 
AnswerRe: Dialogue box disappears when I search in the combo box Pin
Dave Kreskowiak28-Nov-19 19:46
mveDave Kreskowiak28-Nov-19 19:46 
Questionhow to check if value exists in database from textbox c# Pin
Member 1464425125-Nov-19 4:10
MemberMember 1464425125-Nov-19 4:10 
AnswerRe: how to check if value exists in database from textbox c# Pin
Pete O'Hanlon25-Nov-19 4:29
communityengineerPete O'Hanlon25-Nov-19 4:29 
GeneralRe: how to check if value exists in database from textbox c# Pin
F-ES Sitecore26-Nov-19 6:11
mveF-ES Sitecore26-Nov-19 6:11 
GeneralRe: how to check if value exists in database from textbox c# Pin
Pete O'Hanlon27-Nov-19 0:23
communityengineerPete O'Hanlon27-Nov-19 0:23 
AnswerRe: how to check if value exists in database from textbox c# Pin
Richard MacCutchan25-Nov-19 4:39
communityengineerRichard MacCutchan25-Nov-19 4:39 
AnswerRe: how to check if value exists in database from textbox c# Pin
OriginalGriff25-Nov-19 4:52
communityengineerOriginalGriff25-Nov-19 4:52 
AnswerRe: how to check if value exists in database from textbox c# Pin
#realJSOP25-Nov-19 10:23
mva#realJSOP25-Nov-19 10:23 

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.