| Product | Version | |||||||||||||
| Description | ||||||||||||||
| In certain implementations, you may not be able to instantiate Toolkit in .NET using the provided APToolkitNET.dll. It is possible to access Toolkit using a COM Interop in these situations. | ||||||||||||||
| Details | ||||||||||||||
Referencing the APToolkit 4.0 Type Library You must add a reference to the APToolkit 4.0 Type Library to use Toolkit as a COM interop in .NET. If the reference is incorrect or missing, the resultant script will cause a missing type or namespace error. Use the following steps to a reference to the type library:
Instantiating the Objects in C# You can instantiate the objects via COM interop after referencing the APToolkit 4.0 Type Library in the project. The following instructions provide the necessary steps for C#:NOTE: These instructions cover the instatiation of the Toolkit 4.0 Professional Edition objects. These objects may not be available in the Standard or Lite editions.
NOTE: The following instructions assume you are using a Local declaration
Additional Considerations If you are using C# as the scripting language on an ASPX page, you will need to use aCodebehind property. More information can is available in the Microsoft® knowledge base article located at http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b321748. CAUTION: The information provided by this source is not regulated or guaranteed by activePDF, and is subject to change without notice. We strongly recommend that you read all posted warnings and cautions provided by this source, prior to implementing any recommend changes. | ||||||||||||||
Showing posts with label dotNET. Show all posts
Showing posts with label dotNET. Show all posts
Friday, 17 October 2008
Accessing Toolkit 4.0 as a reference via COM Interop in .NET
Labels:
c #,
c sharp,
c#,
csharp,
dot net,
dotNET,
field info objec,
text to pdf,
txt2pdf
Thursday, 21 August 2008
DocConverter Simple GUI for File Conversion
The following VB.NET example demonstrates a basic GUI implementation of activePDF DocConverter. The interface provides an easy way for the user to convert a file to PDF and specify the location for DocConverter's common setup requirements.
Required Components
NOTE: You must reference the APDocConvNET.DLL in order to run the example. Refer to KB #9 for instructions.
Click here to download this example (does not include DLL).
Figure 1.1: DocConverter Example GUI.
The GUI has these required settings:
- File to Convert: The full path to the file to convert to PDF.
NOTE: The corresponding DocConverter Processors must be installed for best conversion quality. - Folder to Place PDF: The full path for the location to place the output PDF.
- Folder to Place Error Files: The full path where any files that are unable to convert are placed.
- Folder to Place Original Document: The full path to store the original input file after conversion.
- IP of DocConverter Machine: The IP address for the machine where DocConverter is installed (Defaults to 127.0.0.1).
- Port (0 for Default): The port assigned to the Submit and CheckStatus methods (Defaults to 0 for 53540).
- Timeout (Seconds): The timeout in seconds (Defaults to 30).
Subscribe to:
Posts (Atom)
