Click here to Skip to main content
15,895,483 members
Home / Discussions / C#
   

C#

 
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 
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 
Thanks for the reply, obviously missed that one Smile | :)

Just incase anybody is searching the forums for the same answer as I was. The project above does exactly what it says on the tin, but it over complicates something that turns out to be quite simple.

I found that an bitmap object has a RotateFlip method, that allows you to specify certain flip and rotation methods.

e.g.
myBmp.RotateFlip(RotateFlipType.RotateNoneFlipY);
myBmp.RotateFlip(RotateFlipType.RotateNoneFlipX);
....(and many more)

These work as they should, but you need to bear in mind that the rotation is carried out in memory so you need to write back the amended data into the bitmap object.

e.g.
System.IO.Stream imgStream = new System.IO.MemoryStream();
myBmp.Save(imgStream, destFormat);

post.mode = signature;
SELECT everything FROM everywhere WHERE something = something_else;
> 1 Row Returned
> 42
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 
GeneralRe: convert textstring to html Pin
Heath Stewart20-Jan-04 5:39
protectorHeath Stewart20-Jan-04 5:39 
GeneralProperties Page Pin
Jose Fco Bonnin20-Jan-04 5:17
Jose Fco Bonnin20-Jan-04 5:17 

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.