PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
Problems by Port pdfsharp.charting.demo to VB.net https://forum.pdfsharp.net/viewtopic.php?f=2&t=507 |
Page 1 of 1 |
Author: | fidibus [ 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 |
Author: | Thomas Hoevel [ 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. |
Author: | fidibus [ 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 |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |