Build Errors with New DLL's

Build Errors with New DLL's

Forum member · May 29, 2008
Added (Upgraded to 3.0.3 from older version) the following two DLL's to my project: DynamicPDF.Generator.Developer.DLL DynamicPDF.Merger.Developer.DLL and I am getting the following two build errors: 1. Error: "Overload resolution failed bacause no accessible 'Draw' accepts this number of arguments. Code: objDocument.Draw(Me, "IndvReport.pdf") 2. Error: "'HasPageNumbering' is not a member of 'ceTe.DynamicPDF.PageElements.Label' Does anybody know how to resolve this errors? Thanks

Re: Build Errors with New DLL's

Forum member · May 29, 2008
code for 2nd error: pageFooter.HasPageNumbering = True

Re: Build Errors with New DLL's

Support · May 30, 2008
Hello, The Draw method will not take two parameters. It will only take a file path as a string or a stream object to write the PDF. You will have to remove the "Me" keyword from the Draw method's parameters and it will work. HasPageNumbering is a not a member of the Label page element. What exactly you wanted to achieve? Do you want to add page numbers to the PDF. If so you can do this by using the PageNumberingLabel element. Thanks, ceTe Software Support Team

Re: Build Errors with New DLL's

Forum member · May 30, 2008
Thanks a lot!!! :-) I was able to fix both errors with your suggestions.