PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

pdfsharp in msaccess ? com object ?
https://forum.pdfsharp.net/viewtopic.php?f=2&t=278
Page 1 of 1

Author:  Frederik_Rippen [ Tue Dec 18, 2007 3:20 pm ]
Post subject:  pdfsharp in msaccess ? com object ?

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'

Author:  Sangi886 [ Fri Jun 12, 2020 7:57 am ]
Post subject:  Re: pdfsharp in msaccess ? com object ?

I am looking for something the same, can you share with me anything you got...

Author:  Lionel Ruello [ Tue Sep 29, 2020 2:56 pm ]
Post subject:  Re: pdfsharp in msaccess ? com object ?

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.

Author:  jmcovello25 [ Fri Dec 11, 2020 3:33 am ]
Post subject:  Re: pdfsharp in msaccess ? com object ?

Lionel Ruello, I haven't even been able to get that far. Would you mind sharing the steps you took to get the DLL added?

Author:  spotprog [ Tue Aug 10, 2021 4:42 pm ]
Post subject:  Re: pdfsharp in msaccess ? com object ?

Has anyone been to get this to work?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/