/// <summary>
/// Exports the specified document.
/// </summary>
/// <param name="document">The document.</param>
/// <param name="filename">The filename.</param>
public void Export(AODL.Document.IDocument document, string filename)
{
try
{
PDFDocument pdfDocument = new PDFDocument();
pdfDocument.DoExport(document, filename);
if (this.OnExportFinished != null)
{
this.OnExportFinished();
}
}
catch(Exception)
{
throw;
}
}