Click here to Skip to main content
15,888,527 members
Home / Discussions / C#
   

C#

 
GeneralRe: Log4Net AsyncAppender Pin
Simon P Stevens10-Nov-08 21:44
Simon P Stevens10-Nov-08 21:44 
AnswerRe: Log4Net AsyncAppender Pin
Dave Kreskowiak10-Nov-08 3:51
mveDave Kreskowiak10-Nov-08 3:51 
GeneralRe: Log4Net AsyncAppender Pin
fdbpro10-Nov-08 19:14
fdbpro10-Nov-08 19:14 
GeneralRe: Log4Net AsyncAppender Pin
Simon P Stevens10-Nov-08 22:07
Simon P Stevens10-Nov-08 22:07 
GeneralRe: Log4Net AsyncAppender Pin
fdbpro10-Nov-08 23:35
fdbpro10-Nov-08 23:35 
Questionexport to bitmap Pin
vinay_K10-Nov-08 2:07
vinay_K10-Nov-08 2:07 
AnswerRe: export to bitmap Pin
Guffa10-Nov-08 3:25
Guffa10-Nov-08 3:25 
GeneralRe: export to bitmap Pin
vinay_K10-Nov-08 17:35
vinay_K10-Nov-08 17:35 
hi..

PointF[] pfTempData = GetCalculatedPoints(intIndex);

panel2Graphics.DrawCurve(new Pen(Color.Black, 0F), pfTempData);


im using the above code to draw a sine wave, but how to draw the same onto bitmap.

i tried like this

Panel2Graphics.DrawImage(bmpExport, pfTempData);


but gives as error like

{System.ArgumentException: Destination points must be an array with a length of 3 or 4. A length of 3 defines a parallelogram with the upper-left, upper-right, and lower-left corners. A length of 4 defines a quadrilateral with the fourth element of the array specifying the lower-right coordinate.<br />
   at System.Drawing.Graphics.DrawImage(Image image, PointF[] destPoints)<br />
   at GDIWaveformViewer2.PlotPanel.DrawGraph(Graphics gPanel2Graphics) in D:\Documents and Settings\vinayakumark\Desktop\Viewer-18july\Viewer\PlotPanel.cs:line 327}



please suggest me what to do..?
GeneralRe: export to bitmap Pin
Guffa10-Nov-08 20:28
Guffa10-Nov-08 20:28 
GeneralRe: export to bitmap Pin
vinay_K10-Nov-08 23:41
vinay_K10-Nov-08 23:41 
Questioni want to get the screen position of the desktop Pin
prasadbuddhika10-Nov-08 0:54
prasadbuddhika10-Nov-08 0:54 
AnswerRe: i want to get the screen position of the desktop Pin
Simon P Stevens10-Nov-08 0:59
Simon P Stevens10-Nov-08 0:59 
QuestionWindows Form Pin
Michael Bookatz10-Nov-08 0:35
Michael Bookatz10-Nov-08 0:35 
AnswerRe: Windows Form Pin
Simon P Stevens10-Nov-08 1:17
Simon P Stevens10-Nov-08 1:17 
AnswerRe: Windows Form Pin
Dave Kreskowiak10-Nov-08 3:46
mveDave Kreskowiak10-Nov-08 3:46 
QuestionShared Document Pin
Sperneder Patrick9-Nov-08 22:54
professionalSperneder Patrick9-Nov-08 22:54 
AnswerRe: Shared Document Pin
Simon P Stevens9-Nov-08 23:42
Simon P Stevens9-Nov-08 23:42 
AnswerRe: Shared Document Pin
Brij10-Nov-08 0:04
mentorBrij10-Nov-08 0:04 
QuestionDistinct LINQ questions Pin
Programm3r9-Nov-08 22:49
Programm3r9-Nov-08 22:49 
AnswerRe: Distinct LINQ questions Pin
Guffa9-Nov-08 23:27
Guffa9-Nov-08 23:27 
GeneralRe: Distinct LINQ questions Pin
Programm3r10-Nov-08 0:00
Programm3r10-Nov-08 0:00 
AnswerRe: Distinct LINQ questions Pin
Simon P Stevens9-Nov-08 23:36
Simon P Stevens9-Nov-08 23:36 
GeneralRe: Distinct LINQ questions Pin
Programm3r10-Nov-08 0:12
Programm3r10-Nov-08 0:12 
Questionneed simple accounting software source code in C#.... Pin
faradgi9-Nov-08 22:19
faradgi9-Nov-08 22:19 
AnswerRe: need simple accounting software source code in C#.... Pin
Simon P Stevens9-Nov-08 22:29
Simon P Stevens9-Nov-08 22:29 

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.