|
PDFsharp - moved to http://forum.pdfsharp.net/ Please visit the new PDFsharp forum at http://forum.pdfsharp.net/
|
Important Notice:
We regret to inform you that our free phpBB forum hosting service will be discontinued by the end of June 30, 2024.
If you wish to migrate to our paid hosting service, please contact billing@hostonnet.com.
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 |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|