Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
GeneralRe: Sending(Play) voice via modem by AT Command Pin
Jimmanuel30-Jul-09 2:41
Jimmanuel30-Jul-09 2:41 
GeneralRe: Sending(Play) voice via modem by AT Command Pin
Mahyar_Habibpour31-Jul-09 9:18
Mahyar_Habibpour31-Jul-09 9:18 
Questionformat DataGridViewTextBoxColumn as number as the user is typing the value Pin
acroitoriu29-Jul-09 21:58
acroitoriu29-Jul-09 21:58 
AnswerRe: format DataGridViewTextBoxColumn as number as the user is typing the value Pin
shine_paravur29-Jul-09 23:45
shine_paravur29-Jul-09 23:45 
QuestionHow can i crop only the used part of a Bitmap? Pin
bonzaiholding29-Jul-09 21:36
bonzaiholding29-Jul-09 21:36 
AnswerRe: How can i crop only the used part of a Bitmap? Pin
stancrm29-Jul-09 21:41
stancrm29-Jul-09 21:41 
GeneralRe: How can i crop only the used part of a Bitmap? Pin
bonzaiholding29-Jul-09 22:39
bonzaiholding29-Jul-09 22:39 
AnswerRe: How can i crop only the used part of a Bitmap? Pin
Luc Pattyn29-Jul-09 22:17
sitebuilderLuc Pattyn29-Jul-09 22:17 
Hi,

the one way with decent performance goes like this:
- create a new bitmap with appropriate size;
- call CreateGraphics on it;
- perform Graphics.DrawImage using an overload that lets you choose part of a source image
- if necessary, save the bitmap in the format you like
- Dispose of the objects you no longer need.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: How can i crop only the used part of a Bitmap? Pin
bonzaiholding29-Jul-09 22:44
bonzaiholding29-Jul-09 22:44 
GeneralRe: How can i crop only the used part of a Bitmap? Pin
Luc Pattyn29-Jul-09 22:58
sitebuilderLuc Pattyn29-Jul-09 22:58 
GeneralRe: How can i crop only the used part of a Bitmap? Pin
jasonmp19-Nov-10 5:00
jasonmp19-Nov-10 5:00 
AnswerRe: How can i crop only the used part of a Bitmap? Pin
Moreno Airoldi30-Jul-09 0:09
Moreno Airoldi30-Jul-09 0:09 
QuestionRequired data through http connection Pin
honeyashu29-Jul-09 21:01
honeyashu29-Jul-09 21:01 
AnswerRe: Required data through http connection Pin
SeMartens29-Jul-09 21:08
SeMartens29-Jul-09 21:08 
GeneralRe: Required data through http connection Pin
honeyashu29-Jul-09 22:18
honeyashu29-Jul-09 22:18 
GeneralRe: Required data through http connection Pin
stancrm29-Jul-09 22:31
stancrm29-Jul-09 22:31 
AnswerRe: Required data through http connection Pin
Manas Bhardwaj29-Jul-09 21:08
professionalManas Bhardwaj29-Jul-09 21:08 
AnswerRe: Required data through http connection Pin
stancrm29-Jul-09 21:09
stancrm29-Jul-09 21:09 
Questiondatabase conectivity in C# Pin
MahaKh29-Jul-09 19:19
MahaKh29-Jul-09 19:19 
AnswerRe: database conectivity in C# Pin
Aman Bhullar29-Jul-09 19:25
Aman Bhullar29-Jul-09 19:25 
AnswerRe: database conectivity in C# Pin
bilal haider29-Jul-09 19:45
bilal haider29-Jul-09 19:45 
AnswerRe: database conectivity in C# Pin
CoderForEver29-Jul-09 23:34
CoderForEver29-Jul-09 23:34 
GeneralRe: database conectivity in C# Pin
nelsonpaixao30-Jul-09 14:34
nelsonpaixao30-Jul-09 14:34 
QuestionHow to find the Position of an element (Html Tag) on an HTML page using c#? Pin
svt gdwl29-Jul-09 18:30
svt gdwl29-Jul-09 18:30 
AnswerRe: How to find the Position of an element (Html Tag) on an HTML page using c#? Pin
dan!sh 29-Jul-09 19:04
professional dan!sh 29-Jul-09 19:04 

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.