Torna al Thread
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30002: Type 'Document' is not defined.
Source Error:
Line 8: Sub creapdf()
Line 9: Dim fs As System.IO.FileStream = New FileStream((Server.MapPath("pdf") + ("\\" + "First PDF document.pdf")), FileMode.Create)
Line 10: Dim document As Document = New Document(PageSize.A4, 25, 25, 30, 30)
Line 11: Dim writer As PdfWriter = PdfWriter.GetInstance(document, fs)
Line 12: document.AddAuthor("Micke Blomquist")