Ejemplo n.º 1
0
        private void AsyncWord2Pdf(string strDocPath)
        {
            //Interlocked.Increment(ref m_ThreadCount);
            Word2Pdf w2p = new Word2Pdf();

            w2p.FilePathWord = strDocPath;
            m_DeConvert[0]   = w2p.ToPdf;
            IAsyncResult ar = m_DeConvert[0].BeginInvoke(new AsyncCallback(callbackWord2PdfConvert), m_DeConvert[0]);
            //ThreadPool.QueueUserWorkItem(new WaitCallback(callbackWord2PdfConvert), m_DeConvert[0]);
        }
Ejemplo n.º 2
0
 private void AsyncWord2Pdf(string strDocPath)
 {
     //Interlocked.Increment(ref m_ThreadCount);
     Word2Pdf w2p = new Word2Pdf();
     w2p.FilePathWord = strDocPath;
     m_DeConvert[0] = w2p.ToPdf;
     IAsyncResult ar = m_DeConvert[0].BeginInvoke(new AsyncCallback(callbackWord2PdfConvert), m_DeConvert[0]);
     //ThreadPool.QueueUserWorkItem(new WaitCallback(callbackWord2PdfConvert), m_DeConvert[0]);
 }