View previous topic :: View next topic |
Author |
Message |
fidibus
Joined: 20 Oct 2008 Posts: 4
|
Posted: Mon Oct 20, 2008 2:23 pm Post subject: Problems by Port pdfsharp.charting.demo to VB.net |
|
|
Hi,
Sorry for my Question, but I try to port the Charting Demo to VB.net. I have problems to understood the line
Code: | this.pagePreview.SetRenderEvent(new PagePreview.RenderEvent(chartFrame.Draw)); |
I dont know this kind of call.
Have anybody a simple demo to implement this event in vb?
Thanks fidibus |
|
Back to top |
|
|
Thomas Hoevel
Joined: 16 Oct 2006 Posts: 387 Location: Cologne, Germany
|
Posted: Tue Oct 21, 2008 7:50 am Post subject: |
|
|
new creates a new, unnamed object.
An Event is a "function pointer". This call specifies which method is used to render (i. e. draw) something.
I dunno how to write this in VB. In VB you can use DIM to create a new, named object IIRC. _________________ Regards
Thomas Hoevel
PDFsharp Team |
|
Back to top |
|
|
fidibus
Joined: 20 Oct 2008 Posts: 4
|
Posted: Mon Oct 27, 2008 8:22 pm Post subject: |
|
|
Hi Thomas,
thanks to your answer! Unfortunately, I have no solution for this problem. But I can realize my project without a pagepreview.
If have enough time, i will search for the solution and post it here.
Thanks Fidibus |
|
Back to top |
|
|
|