.NET assembly

VariaDoc can be integrated into your .NET application using VariaDoc Reports assembly.
This enables you to use the power of VariaDoc in your own application.

Sample code

In order to integrate variaDoc with your .NET application, you are required to use this code:
using System;
using Variadoc.Reports;
namespace MyVariadoc
{
   /// <summary>
   /// Sample usage of PDFMergician.Reports
   /// </summary>
   public class Program
   {
       /// <summary>
       /// The main entry point for the application.
       /// </summary>
       [STAThread]
       static void Main(string[] args)
       {
           if (args.Length > 0)
           {
               // Instantiate a project wrapper.
               MergeProject project = new MergeProject();
               // Set LicenseFolder to the folder that contains License.xml
               project.LicenseFolder = Environment.CurrentDirectory;
               // Setup input parameter values.
               MergeParameters parameters = new MergeParameters();
               parameters["key1"] = "value1";
               parameters["key2"] = "value2";
               // Merge now.
               project.Merge(args[0], parameters);
           }
           else
           {
               Console.WriteLine("Usage: MyVariadoc <project>");
           }
       }
   }
}

Configuration

The Server Deployment Wizard is used to deploy all required files to a user specified folder. This folder must be on a local hard disk for security reasons.
Start the Server Deployment Wizard by selecting variaDoc 6 > Server Deployment Wizard.
The Server Deployment Wizard displays.
Click Next.
Select Deploy as .Net Assembly.
Click Next.
Enter the folder and server name where you want to deploy the integration assembly to and click Next. If the folder you selected doesn't exist, the 'Next' button will be disabled. You must manually create a folder with the specified name.
Select Activate the product and enter the serial number for the server license or use the product in Evaluation mode.
You can retrieve your serial number by logging into your account at http://www.variadoc.com and navigating to the Licenses section.
Click Next.
After the product is deployed to the folder specified, click Next and then click Finish.
You can now use the VariaDoc.Reports.dll assembly from the entered folder.
Getting help:
To get help with integrating variaDoc with your .NET application, refer to the help file (the default location is:
C:\Program Files(x86)\variaDoc.Reports.chm)
For further assistance, contact support at support@variadoc.com.