Click here to Skip to main content
15,897,704 members
Home / Discussions / C#
   

C#

 
GeneralRe: Excel to XML converter with VC# Pin
Waleed Eissa25-Dec-07 17:52
Waleed Eissa25-Dec-07 17:52 
GeneralRe: Excel to XML converter with VC# Pin
yonision8-Jan-10 12:58
yonision8-Jan-10 12:58 
QuestionHow to hide a property from the property grid while still allowing XML serialization Pin
slipster21624-Dec-07 9:52
slipster21624-Dec-07 9:52 
AnswerRe: How to hide a property from the property grid while still allowing XML serialization Pin
darkelv24-Dec-07 14:31
darkelv24-Dec-07 14:31 
GeneralRe: How to hide a property from the property grid while still allowing XML serialization Pin
slipster21624-Dec-07 17:43
slipster21624-Dec-07 17:43 
GeneralRe: How to hide a property from the property grid while still allowing XML serialization [modified] Pin
darkelv24-Dec-07 19:05
darkelv24-Dec-07 19:05 
GeneralPrinting Pin
half-life24-Dec-07 4:48
half-life24-Dec-07 4:48 
GeneralRe: Printing Pin
Xmen Real 24-Dec-07 14:50
professional Xmen Real 24-Dec-07 14:50 
half-life wrote:
yPos = topMargin + (count * printerFont.GetHeight(e.Graphics));
e.Graphics.DrawString(line, printerFont, Brushes.Black, leftMargin, yPos, new StringFormat());




i think problem is in "StringFormat()", you didnt defined some String formats properties

StringFormat PageStringFormat = new StringFormat();
                PageStringFormat.Trimming = StringTrimming.Word;
                PageStringFormat.FormatFlags = StringFormatFlags.NoWrap | StringFormatFlags.LineLimit | StringFormatFlags.NoClip;


try this StringFormat, i hope it should work

Becoming Programmer...

GeneralRe: Printing Pin
half-life24-Dec-07 20:08
half-life24-Dec-07 20:08 
GeneralRe: Printing Pin
Xmen Real 24-Dec-07 20:17
professional Xmen Real 24-Dec-07 20:17 
GeneralProblem to override OnTextChanged(throw Unlimited Loop) Pin
hdv21224-Dec-07 4:39
hdv21224-Dec-07 4:39 
GeneralRe: Problem to override OnTextChanged(throw Unlimited Loop) Pin
Colin Angus Mackay24-Dec-07 4:57
Colin Angus Mackay24-Dec-07 4:57 
GeneralRe: Problem to override OnTextChanged(throw Unlimited Loop) Pin
hdv21224-Dec-07 7:37
hdv21224-Dec-07 7:37 
GeneralRe: Problem to override OnTextChanged(throw Unlimited Loop) Pin
Colin Angus Mackay24-Dec-07 9:20
Colin Angus Mackay24-Dec-07 9:20 
GeneralRe: Problem to override OnTextChanged(throw Unlimited Loop) Pin
hdv21224-Dec-07 12:40
hdv21224-Dec-07 12:40 
GeneralRe: Problem to override OnTextChanged(throw Unlimited Loop) Pin
Colin Angus Mackay24-Dec-07 13:04
Colin Angus Mackay24-Dec-07 13:04 
GeneralTimercontrol Interval In Config File Pin
Member 459997224-Dec-07 4:05
Member 459997224-Dec-07 4:05 
GeneralRe: Timercontrol Interval In Config File Pin
Anthony Mushrow24-Dec-07 5:12
professionalAnthony Mushrow24-Dec-07 5:12 
GeneralRestrict to run application more than one time Pin
Xmen Real 24-Dec-07 4:03
professional Xmen Real 24-Dec-07 4:03 
GeneralRe: Restrict to run application more than one time Pin
Xmen Real 24-Dec-07 4:09
professional Xmen Real 24-Dec-07 4:09 
GeneralRe: Restrict to run application more than one time Pin
Giorgi Dalakishvili24-Dec-07 4:18
mentorGiorgi Dalakishvili24-Dec-07 4:18 
GeneralRe: Restrict to run application more than one time Pin
Xmen Real 24-Dec-07 4:35
professional Xmen Real 24-Dec-07 4:35 
GeneralRe: Restrict to run application more than one time Pin
Giorgi Dalakishvili24-Dec-07 4:56
mentorGiorgi Dalakishvili24-Dec-07 4:56 
GeneralRe: Restrict to run application more than one time Pin
Xmen Real 24-Dec-07 14:44
professional Xmen Real 24-Dec-07 14:44 
GeneralRe: Restrict to run application more than one time Pin
Giorgi Dalakishvili24-Dec-07 20:01
mentorGiorgi Dalakishvili24-Dec-07 20:01 

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.