protected override void Dispose(bool disposing) { PDFDocument.CloseDocument(); base.Dispose(disposing); }