PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllTo do work with ASP.NET, we must perform three steps:
To create the Interop-wrapper of PDF Creator Pilot (i.e. a wrapper that would make it possible to call 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 we need to 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, we should 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.
|



Example