Click here to Skip to main content
15,913,587 members
Home / Discussions / C#
   

C#

 
GeneralRe: TextBox and odd chars Pin
Christer Claesson12-May-04 10:37
Christer Claesson12-May-04 10:37 
GeneralRe: TextBox and odd chars Pin
Heath Stewart12-May-04 11:32
protectorHeath Stewart12-May-04 11:32 
General'Comparing' two strings. Pin
heelios12-May-04 7:09
heelios12-May-04 7:09 
GeneralRe: 'Comparing' two strings. Pin
Jeff Varszegi12-May-04 7:17
professionalJeff Varszegi12-May-04 7:17 
GeneralRe: 'Comparing' two strings. Pin
heelios12-May-04 10:52
heelios12-May-04 10:52 
GeneralRe: 'Comparing' two strings. Pin
Jeff Varszegi12-May-04 13:08
professionalJeff Varszegi12-May-04 13:08 
GeneralRe: 'Comparing' two strings. Pin
TigerNinja_12-May-04 12:20
TigerNinja_12-May-04 12:20 
GeneralForms Show ShowDialog ImageEditing Pin
seanmayhew12-May-04 7:02
seanmayhew12-May-04 7:02 
I've been working on my own run of the PDF to JPG/PNG/GIF conversion from an article featured on this site. I have all of the conversions and filepaths working fine right now my problem is some of the JPG's need rotated before they're finished. So I built a seperate form that displays the JPG after it has been converted but before it has been saved. So the rotation can be done manually at run time since some need rotated others dont and theres no way to tell without looking at them.

When I used
ImagePreview previewImage = new ImagePreview(pdfBitmap);<br />
previewImage.Show();<br />

It just opens every single image in the process in its own form.
So I changed it to
ImagePreview previewImage = new ImagePreview(pdfBitmap);<br />
previewImage.ShowDialog();

and this at least keeps stops the code while the first image is open.

The problem I'm having now is my "Rotate" Button of my ImagePreview form will not rotate the passed (pdfBitmap) however if I move the rotate code into the
ImagePreview_Load
The rotation occurs when the form loads so I know the rotation code works.
pbPreview.Image.RotateFlip(RotateFlipType.Rotate180FlipNone);
But why wont the button rotate the image?

Also to test that I had the correct "click" event I placed a label control on the form and set the text with the "Rotate" buttons click and it works fine.

Any help would be greatly appreciated sorry if this is long winded.
GeneralRe: Forms Show ShowDialog ImageEditing Pin
Heath Stewart12-May-04 9:29
protectorHeath Stewart12-May-04 9:29 
GeneralRe: Forms Show ShowDialog ImageEditing Pin
seanmayhew12-May-04 9:59
seanmayhew12-May-04 9:59 
GeneralRe: Forms Show ShowDialog ImageEditing Pin
Heath Stewart12-May-04 10:02
protectorHeath Stewart12-May-04 10:02 
GeneralWeb services Pin
yuke12-May-04 6:45
yuke12-May-04 6:45 
GeneralRe: Web services Pin
Mazdak12-May-04 8:57
Mazdak12-May-04 8:57 
GeneralRe: Web services Pin
yuke12-May-04 21:35
yuke12-May-04 21:35 
GeneralSynfusion Pin
DotNetNew12-May-04 5:43
DotNetNew12-May-04 5:43 
Generalknowing when a form move is complete Pin
HappyPaws12-May-04 5:23
HappyPaws12-May-04 5:23 
GeneralRe: knowing when a form move is complete Pin
Heath Stewart12-May-04 5:33
protectorHeath Stewart12-May-04 5:33 
GeneralRe: knowing when a form move is complete Pin
HappyPaws12-May-04 8:21
HappyPaws12-May-04 8:21 
GeneralRe: knowing when a form move is complete Pin
Heath Stewart12-May-04 9:22
protectorHeath Stewart12-May-04 9:22 
GeneralChecking if control moved Pin
lustuyck12-May-04 4:25
lustuyck12-May-04 4:25 
GeneralRe: Checking if control moved Pin
Heath Stewart12-May-04 4:46
protectorHeath Stewart12-May-04 4:46 
GeneralSize of Folder Pin
Meysam Mahfouzi12-May-04 4:19
Meysam Mahfouzi12-May-04 4:19 
GeneralRe: Size of Folder Pin
Dave Kreskowiak12-May-04 4:21
mveDave Kreskowiak12-May-04 4:21 
GeneralMessage Removed Pin
12-May-04 4:27
wibblewibblewibble12-May-04 4:27 
GeneralRe: Size of Folder Pin
Meysam Mahfouzi12-May-04 17:02
Meysam Mahfouzi12-May-04 17:02 

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.