Click here to Skip to main content
16,012,468 members
Home / Discussions / C#
   

C#

 
GeneralRe: "CodeDomSerializer" compiler error Pin
Stefan Troschuetz20-Jun-04 3:16
Stefan Troschuetz20-Jun-04 3:16 
Generallisting all properties and members of a class. Pin
Member 114126620-Jun-04 1:23
Member 114126620-Jun-04 1:23 
GeneralRe: listing all properties and members of a class. Pin
leppie20-Jun-04 1:38
leppie20-Jun-04 1:38 
GeneralRe: listing all properties and members of a class. Pin
Member 114126620-Jun-04 3:09
Member 114126620-Jun-04 3:09 
GeneralDataGrid`s datasource Pin
20-Jun-04 1:12
suss20-Jun-04 1:12 
GeneralRe: DataGrid`s datasource Pin
Heath Stewart21-Jun-04 4:21
protectorHeath Stewart21-Jun-04 4:21 
GeneralRe: DataGrid`s datasource Pin
Member 114126622-Jun-04 6:34
Member 114126622-Jun-04 6:34 
GeneralGDI+ / Drawing text vertical Pin
ljfhm20-Jun-04 0:56
ljfhm20-Jun-04 0:56 
Hello !

I have written a small CAD program. My problem is drawing a text vertical left beside a dimensioning line wich you can read down upward.

Example code :
==============================================
string tmp = tFigure.Length.ToString();

//Measure the string length
sizeText = g.MeasureString(temp,Font);

//Drawing string centered left beside the dimensioning line
//but the text is up downward
strfmt = new StringFormat(StringFormatFlags.DirectionVertical |
StringFormatFlags.DirectionRightToLeft );
g.DrawString(temp,Font,brush,xof+rasteranfang.length+rlxof ... usw.)
==============================================

I tried to omit the DirectionRightToLeft-Flag, but it´s the same problem.

Another try was to use g.RotateTransform(90) before the DrawString method, but the rest of the other grafic elements are wrong after that.

Perhaps someone has a simple solution for me.

Thanks for the efforts.

GeneralRe: GDI+ / Drawing text vertical Pin
Nick Parker20-Jun-04 5:10
protectorNick Parker20-Jun-04 5:10 
Generalcodeproject webServices Pin
Lior Shoval19-Jun-04 12:24
Lior Shoval19-Jun-04 12:24 
GeneralRe: codeproject webServices Pin
Heath Stewart21-Jun-04 4:24
protectorHeath Stewart21-Jun-04 4:24 
GeneralRe: codeproject webServices Pin
Lior Shoval21-Jun-04 8:18
Lior Shoval21-Jun-04 8:18 
GeneralHandling Windows Messages Automatically Question Pin
mtbjr19-Jun-04 12:04
mtbjr19-Jun-04 12:04 
GeneralRe: Handling Windows Messages Automatically Question Pin
Nick Parker19-Jun-04 19:27
protectorNick Parker19-Jun-04 19:27 
GeneralUsing a .NET assembly in GINA Pin
Ami Bar19-Jun-04 11:36
Ami Bar19-Jun-04 11:36 
GeneralHELP: Remote Connection SOS Pin
slw1234@sbcglobal.net19-Jun-04 9:19
slw1234@sbcglobal.net19-Jun-04 9:19 
GeneralRe: HELP: Remote Connection SOS Pin
Dave Kreskowiak21-Jun-04 4:33
mveDave Kreskowiak21-Jun-04 4:33 
Generalform load and Resize event Pin
ABean19-Jun-04 5:15
ABean19-Jun-04 5:15 
GeneralRe: form load and Resize event Pin
leppie19-Jun-04 5:45
leppie19-Jun-04 5:45 
GeneralRe: form load and Resize event Pin
Heath Stewart19-Jun-04 8:21
protectorHeath Stewart19-Jun-04 8:21 
GeneralRe: form load and Resize event Pin
leppie19-Jun-04 8:31
leppie19-Jun-04 8:31 
GeneralRe: form load and Resize event Pin
Heath Stewart19-Jun-04 8:33
protectorHeath Stewart19-Jun-04 8:33 
GeneralRe: form load and Resize event Pin
Heath Stewart19-Jun-04 8:23
protectorHeath Stewart19-Jun-04 8:23 
GeneralPretty Weird Request Here... Pin
matthias s.19-Jun-04 5:08
matthias s.19-Jun-04 5:08 
GeneralRe: Pretty Weird Request Here... Pin
ABean19-Jun-04 5:31
ABean19-Jun-04 5:31 

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.