Click here to Skip to main content
16,019,427 members
Home / Discussions / C#
   

C#

 
Generalprinter Handshake Pin
Ankwa20-Jan-04 11:46
Ankwa20-Jan-04 11:46 
GeneralRe: printer Handshake Pin
Tom Larsen21-Jan-04 4:56
Tom Larsen21-Jan-04 4:56 
GeneralRe: printer Handshake Pin
Ankwa21-Jan-04 21:16
Ankwa21-Jan-04 21:16 
GeneralSecurity exception running from network Pin
cje20-Jan-04 11:19
cje20-Jan-04 11:19 
GeneralRe: Security exception running from network Pin
scadaguy20-Jan-04 11:34
scadaguy20-Jan-04 11:34 
GeneralRe: Security exception running from network Pin
cje20-Jan-04 11:42
cje20-Jan-04 11:42 
GeneralRe: Security exception running from network Pin
Heath Stewart20-Jan-04 14:58
protectorHeath Stewart20-Jan-04 14:58 
GeneralImage Rotation with GDI Pin
MrEyes20-Jan-04 9:29
MrEyes20-Jan-04 9:29 
Quick Question: How can I rotate an image using GDI?

Extended Question: I am playing around with an application that is a very quick and dirty fax viewer, the user loads an image into a picture box and from there can apply various transforms on it to make the fax more legible.

When the user selects a transform, I retrieve the image object attached to the picture box and get the graphics object from that image, from there is all gets a bit fluffy, I have tried using

g.RotateTransform(90)
g.Transform.Rotate(90)

And also creating a matrix and transforming using that (as described in the MSDN), but none of these methods seem to work. After some trawling through CP I havent found anything that using rotational transformations (although the articles by Christian Graus in the C# GDI section are brilliant, the only thing he doesnt do is rotation)

post.mode = signature;
SELECT everything FROM everywhere WHERE something = something_else;
> 1 Row Returned
> 42
GeneralRe: Image Rotation with GDI Pin
Mazdak20-Jan-04 9:45
Mazdak20-Jan-04 9:45 
GeneralRe: Image Rotation with GDI Pin
MrEyes21-Jan-04 6:07
MrEyes21-Jan-04 6:07 
GeneralXML Pin
Gary Kirkham20-Jan-04 8:16
Gary Kirkham20-Jan-04 8:16 
GeneralRe: XML Pin
Heath Stewart20-Jan-04 8:34
protectorHeath Stewart20-Jan-04 8:34 
GeneralRe: XML Pin
Gary Kirkham20-Jan-04 8:56
Gary Kirkham20-Jan-04 8:56 
GeneralPopUp Menu Pin
Inam20-Jan-04 7:33
Inam20-Jan-04 7:33 
GeneralRe: PopUp Menu Pin
Mazdak20-Jan-04 7:46
Mazdak20-Jan-04 7:46 
GeneralImportant !! Download and cookies Pin
bsargos20-Jan-04 7:20
bsargos20-Jan-04 7:20 
GeneralRe: Important !! Download and cookies Pin
Heath Stewart20-Jan-04 8:29
protectorHeath Stewart20-Jan-04 8:29 
GeneralRe: Important !! Download and cookies Pin
bsargos20-Jan-04 12:28
bsargos20-Jan-04 12:28 
GeneralOpenFileDialog initial directory Pin
Radoslav Bielik20-Jan-04 7:11
Radoslav Bielik20-Jan-04 7:11 
GeneralRe: OpenFileDialog initial directory Pin
Mazdak20-Jan-04 7:42
Mazdak20-Jan-04 7:42 
GeneralRe: OpenFileDialog initial directory Pin
Radoslav Bielik20-Jan-04 7:51
Radoslav Bielik20-Jan-04 7:51 
QuestionHow to make Combinations Pin
jacal9920-Jan-04 7:02
jacal9920-Jan-04 7:02 
AnswerRe: How to make Combinations Pin
MaxGuernsey20-Jan-04 8:42
MaxGuernsey20-Jan-04 8:42 
AnswerRe: How to make Combinations Pin
leppie21-Jan-04 6:17
leppie21-Jan-04 6:17 
Generalconvert textstring to html Pin
Herman<T>.Instance20-Jan-04 5:26
Herman<T>.Instance20-Jan-04 5:26 

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.