Click here to Skip to main content
15,891,694 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problems printing Pin
naglbitur5-Nov-05 21:54
naglbitur5-Nov-05 21:54 
GeneralRe: Problems printing Pin
Heath Stewart6-Nov-05 5:55
protectorHeath Stewart6-Nov-05 5:55 
GeneralRe: Problems printing Pin
naglbitur31-Dec-05 8:02
naglbitur31-Dec-05 8:02 
AnswerRe: Problems printing Pin
Heath Stewart1-Jan-06 10:06
protectorHeath Stewart1-Jan-06 10:06 
GeneralRe: Problems printing Pin
naglbitur1-Jan-06 19:57
naglbitur1-Jan-06 19:57 
GeneralRe: Problems printing Pin
naglbitur28-Nov-05 12:45
naglbitur28-Nov-05 12:45 
GeneralRe: Problems printing Pin
Heath Stewart28-Nov-05 20:37
protectorHeath Stewart28-Nov-05 20:37 
GeneralRe: Problems printing Pin
naglbitur29-Nov-05 6:40
naglbitur29-Nov-05 6:40 
Hi.
Well what I did is this. I created some Labels, added text and numbers to them and placed them on the form. When a selection is made from a menu, labels are put on the form and lines get drawn. With one of the selections everything comes out right both on screen and when I print it out. Then I just repeated what I did but I have chars missing from the text in the labels. This is very strange since I simply duplicated what I did before and it worked fine before.
Then this is what happens:

private void pd_PrintPageDeiling(object sender, PrintPageEventArgs e)
{
Graphics d = e.Graphics;
d.DrawString(nafn.Text, nafn.Font, new SolidBrush(nafn.ForeColor),(RectangleF)nafn.Bounds); //this comes out right

d.DrawString(nr1.Text, nr1.Font, new SolidBrush(nr1.ForeColor),
(RectangleF)nr1.Bounds); //this is where part of the text is missing and I just don´t understand why. The control nr1 has 2 chars (and only one gets printed) but the nafn control has 5 chars and they get printed out as they are seen on screen but not the nr1 label control.
Best regards,


FJ
QuestionMail Server Windows App C# Pin
TAREQ F ABUZUHRI5-Nov-05 6:04
TAREQ F ABUZUHRI5-Nov-05 6:04 
AnswerRe: Mail Server Windows App C# Pin
Heath Stewart5-Nov-05 11:54
protectorHeath Stewart5-Nov-05 11:54 
QuestionSend EnterKey to telnet Pin
Niles Davis5-Nov-05 3:51
Niles Davis5-Nov-05 3:51 
AnswerRe: Send EnterKey to telnet Pin
Heath Stewart5-Nov-05 11:45
protectorHeath Stewart5-Nov-05 11:45 
QuestionCan't parse SOAP with XPath Pin
Zhornyk5-Nov-05 3:23
Zhornyk5-Nov-05 3:23 
AnswerRe: Can't parse SOAP with XPath Pin
leppie5-Nov-05 3:32
leppie5-Nov-05 3:32 
GeneralRe: Can't parse SOAP with XPath Pin
Zhornyk5-Nov-05 4:00
Zhornyk5-Nov-05 4:00 
GeneralRe: Can't parse SOAP with XPath Pin
leppie5-Nov-05 4:14
leppie5-Nov-05 4:14 
QuestionNetLocalGroupAddMembers Pin
g00fyman5-Nov-05 0:14
g00fyman5-Nov-05 0:14 
AnswerRe: NetLocalGroupAddMembers Pin
S. Senthil Kumar5-Nov-05 2:02
S. Senthil Kumar5-Nov-05 2:02 
GeneralRe: NetLocalGroupAddMembers Pin
g00fyman5-Nov-05 2:12
g00fyman5-Nov-05 2:12 
GeneralRe: NetLocalGroupAddMembers Pin
S. Senthil Kumar5-Nov-05 3:26
S. Senthil Kumar5-Nov-05 3:26 
GeneralRe: NetLocalGroupAddMembers Pin
g00fyman5-Nov-05 11:33
g00fyman5-Nov-05 11:33 
GeneralRe: NetLocalGroupAddMembers Pin
g00fyman5-Nov-05 12:05
g00fyman5-Nov-05 12:05 
GeneralRe: NetLocalGroupAddMembers Pin
S. Senthil Kumar6-Nov-05 19:02
S. Senthil Kumar6-Nov-05 19:02 
QuestionTrain free @Microsoft Pin
vikas amin4-Nov-05 22:50
vikas amin4-Nov-05 22:50 
AnswerRe: Train free @Microsoft Pin
Glaxalg7-Nov-05 6:19
Glaxalg7-Nov-05 6: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.