PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Wed Oct 28, 2020 3:20 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: Tue Dec 18, 2007 3:20 pm 
Offline

Joined: Tue Dec 18, 2007 2:43 pm
Posts: 1
Has anyone tried to convert the dotnet version and made a com object of it so that it can be used in order programming languages like vba ( microsoft access 'visual basic for applications'


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 12, 2020 7:57 am 
Offline

Joined: Fri Jun 12, 2020 7:54 am
Posts: 1
I am looking for something the same, can you share with me anything you got...


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 29, 2020 2:56 pm 
Offline

Joined: Tue Sep 29, 2020 1:19 pm
Posts: 1
Hello,

I built a COM Object of PDFSharp library (1_50-Beta5) to be used with MS Acess VBA and I'm now able to export a Blank PDF but I can't manage to add text or to draw lines in this PDF.

For example, I tried to "convert" for VBA the VB.Net code below coming from the PDFSharp HelloWorld sample:

VB.Net code from PDFSharp HelloWorld sample
Dim font As XFont = New XFont("Verdana", 20, XFontStyle.Bold)

VBA code "conversion"
Dim font As XFont
Set font= New XFont("Verdana", 20, XFontStyle_Bold)

The VBA Debugger report that XFont (of the second line ) is not defined

I don't know if I 'm doing something wrong or if it is simply not possible to use PDFSharp as a COM object for MS access VBA.
Thank you for any answer.


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: -Mirage-, Google [Bot] and 23 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