PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu May 02, 2024 9:14 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Oct 20, 2008 2:23 pm 
Offline

Joined: Mon Oct 20, 2008 2:14 pm
Posts: 5
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Oct 21, 2008 7:50 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3097
Location: Cologne, Germany
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Oct 27, 2008 8:22 pm 
Offline

Joined: Mon Oct 20, 2008 2:14 pm
Posts: 5
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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 130 guests


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 post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group