Referencing the Assembly and Deployment
DynamicPDF Generator v9.x for .NET is installed at "%ProgramFiles%\ceTe Software\DynamicPDF v9.x for .NET\bin" on 32-bit machines and "%ProgramFiles(x86)%\ceTe Software\DynamicPDF v9.x for .NET\bin" on 64-bit machines by default. There are three assemblies included, one for each of the following .NET Framework versions: 2.0 / 3.x and 4.x.
| Assembly Name | Assembly Version | Framework Version |
|---|---|---|
| ceTe.DynamicPDF.20.dll | 9.x.x.20 | 2.0 and 3.0 |
| ceTe.DynamicPDF.35.dll | 9.x.x.35 | 3.5 |
| ceTe.DynamicPDF.40.dll | 9.x.x.40 | 4.x |
Visual Studio .NET 2010, 2012, 2013, 2015 and 2017
To reference our assembly from Visual Studio 2010, 2012, 2013, 2015 and 2017, open your project's references window (right click on the project's References and select "Add Reference..."). From the Add Reference window click on the "Browse" tab and browse to the bin folder where the Dlls are installed and select the appropriate dll based on the .NET Framework version the project tragets. Visual Studio 2010, 2012, 2013, 2015 and 2017 by default will use the .NET 4.0 dll.
32-bit (x86) and 64-bit (x64) Versions
All our ceTe.DynamicPDF dll files are built using the AnyCPU option and therefore do not need separate 32-bit or 64 bit builds. Any of the above dll files can run natively in either 32-bit or 64-bit environments.
Character Shaping & HTML Area
Character shaping & HMTL Area have a dependency on Visual C++ Redistributables. For more details refer to the Deployment topic.
Deployment
DynamicPDF Generator for .NET is contained in ceTe's DynamicPDF assembly (ceTe.DynamicPDF.XX.dll). You will need to ensure that it is in your application's bin folder. You can then deploy the assembly along with your application using XCOPY or your own setup program.
Licensing
In additional to deploying the dll files with your application, a license key must be added to remove the watermark. A license key can either be added to a .config file or it can be added as a line of code in the application. License keys can be retrieved from the Customer Area of our website, https://www.dynamicpdf.com/CustomerArea, after the purchase of an appropriate serial number.
Character Shaping & HTML Area
The following Visual C++ dependency is required only when HTML Area is used and/or Character Shaping is being enabled.
Using .NET Framework 2.0 / 3.x
In order to use character shaping feature, Visual C++ Redistributable for Visual Studio 2008 is required. The components required can either be installed by downloading and running the Visual C++ Redistributable Package directly on the target deployment machine or by having your setup program use the appropriate merge modules to take care of it. Details on both of these methods are below.
Redistributable Package : If you would like to run the redistributable package directly on the target deployment machine, the Microsoft Download Center offers the Visual C++ Redistributable free to download and install. For applications targeting .NET 2.0 / 3.x download “Visual C++ Redistributable 2008”.
Setup Program : If you would like to have your setup program take care of this then it must contain the following merge modules:
Visual C++ 9.0 CRT (X86) MSM
Visual C++ 9.0 CRT (X64) MSM
Using .NET Framework 4.x
In order to use character shaping feature, Visual C++ Redistributable for Visual Studio 2012 is required. The components required can either be installed by downloading and running the Visual C++ Redistributable Package directly on the target deployment machine or by having your setup program use the appropriate merge modules to take care of it. Details on both of these methods are below.
Redistributable Package : If you would like to run the redistributable package directly on the target deployment machine, the Microsoft Download Center offers the Visual C++ Redistributable free to download and install. For applications targeting .NET 4.x download “Visual C++ Redistributable 2012”.
Setup Program : If you would like to have your setup program take care of this then it must contain the following merge modules:
Visual C++ 11.0 CRT (X86) MSM
Visual C++ 11.0 CRT (X64) MSM