Exemplo n.º 1
0
        public IAsyncResult BeginSendPageAdd(Page page, AsyncCallback callback, object state)
        {
            if (disposed)
            {
                throw new ObjectDisposedException("RTDocumentHelper has been disposed");
            }

            RTPageAdd pa = new RTPageAdd(page);

            AddTOCNodeToRTDocument(pa.TOCNode);
            AddPageToRTDocument(pa.Page);

            return(capability.BeginSendObjectBackground(pa, callback, state));
        }