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.
|