PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllTo enable PDF Creator Pilot to work with ASP.NET, you must perform three steps:
To create the Interop wrapper of PDF Creator Pilot (i.e. a wrapper that would make it possible to call the unmanaged COM object code of the library from the managed code of an ASP.NET application), we should use one of the standard utilities from the .NET SDK - TlbImp.exe (C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\TlbImp.exe) Example: TlbImp.exe PDFCreatorPilot.dll /out:Interop.PDFCreatorPilotLib.dll Then copy the wrapper into the "bin" subfolder of the Web application root folder. (If that folder does not yet exist, we will have to create it.) Example: To attach the Web application to the namespace library, append the following line to the ".aspx"-file: <%@ Import Namespace="Interop.PDFCreatorPilotLib" %> After that, a COM object of PDF Creator Pilot may be used from ASP.NET. Important: after updating a PDF Creator Pilot to a new version you must update your Interop-wrappers also.
|



Example