/// <summary> /// запоминаем страницу для рендеринга /// </summary> //PDFPage pg = null; //int currentpdf = 0; //int currentpage = 0; public override void ReceiveDoc() { var my_session = new ExchangeSession(); my_session.FileDownloaded = ExtractTextFromPDFBytes; my_session.ExecuteOptionsSession(); }