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

C#

 
AnswerRe: Removing rows from a DataTable with relations problem. Pin
oscarderooij19-May-08 2:05
oscarderooij19-May-08 2:05 
QuestionHow to check the proxy Pin
Michael Sync15-May-08 7:07
Michael Sync15-May-08 7:07 
AnswerRe: How to check the proxy Pin
Bert delaVega15-May-08 7:35
Bert delaVega15-May-08 7:35 
GeneralRe: How to check the proxy Pin
Michael Sync15-May-08 7:38
Michael Sync15-May-08 7:38 
GeneralRe: How to check the proxy Pin
Bert delaVega15-May-08 8:04
Bert delaVega15-May-08 8:04 
GeneralRe: How to check the proxy Pin
Michael Sync15-May-08 8:08
Michael Sync15-May-08 8:08 
QuestionThis is about Rotating an image Pin
Luckie15-May-08 6:35
Luckie15-May-08 6:35 
AnswerRe: This is about Rotating an image Pin
MidwestLimey15-May-08 7:33
professionalMidwestLimey15-May-08 7:33 
If you rotate an image, unless it's a square the dimensions will change, only the area stays constant.

Luckie wrote:
Bitmap bmp1 = new Bitmap(b.Width, b.Height);


The problem is above.
You'll need to size the image appropriately, guarenteeing enough room for a rotated image to fit. At the very least the size will need to be a square of the largest dimension of the original image. You can crop the image appropriately afterwards.


I'm largely language agnostic

After a while they all bug me D'Oh! | :doh:


GeneralRe: This is about Rotating an image Pin
Luckie15-May-08 7:52
Luckie15-May-08 7:52 
GeneralRe: This is about Rotating an image Pin
MidwestLimey15-May-08 8:11
professionalMidwestLimey15-May-08 8:11 
GeneralRe: This is about Rotating an image Pin
Luckie15-May-08 8:13
Luckie15-May-08 8:13 
GeneralRe: This is about Rotating an image Pin
Luckie15-May-08 8:16
Luckie15-May-08 8:16 
GeneralRe: This is about Rotating an image Pin
Dan Neely15-May-08 8:11
Dan Neely15-May-08 8:11 
GeneralRe: This is about Rotating an image Pin
MidwestLimey15-May-08 8:12
professionalMidwestLimey15-May-08 8:12 
QuestionMDI Background image. Pin
benjamin yap15-May-08 6:16
benjamin yap15-May-08 6:16 
AnswerRe: MDI Background image. Pin
Ed.Poore15-May-08 12:48
Ed.Poore15-May-08 12:48 
QuestionFile copy buffer size? Pin
MicealG15-May-08 6:15
MicealG15-May-08 6:15 
AnswerRe: File copy buffer size? Pin
led mike15-May-08 6:23
led mike15-May-08 6:23 
GeneralRe: File copy buffer size? Pin
MicealG15-May-08 6:31
MicealG15-May-08 6:31 
GeneralRe: File copy buffer size? Pin
led mike15-May-08 6:51
led mike15-May-08 6:51 
AnswerRe: File copy buffer size? Pin
Guffa15-May-08 7:41
Guffa15-May-08 7:41 
GeneralRe: File copy buffer size? Pin
led mike15-May-08 9:15
led mike15-May-08 9:15 
AnswerRe: File copy buffer size? Pin
Peter Josefsson Sweden15-May-08 11:44
Peter Josefsson Sweden15-May-08 11:44 
GeneralRe: File copy buffer size? Pin
Guffa15-May-08 13:01
Guffa15-May-08 13:01 
GeneralRe: File copy buffer size? Pin
Peter Josefsson Sweden16-May-08 12:10
Peter Josefsson Sweden16-May-08 12:10 

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.