void OpenDoc() { _swDocMgr = _swClassFact.GetApplication(SLicenseKey); _nDocType = SwDocMgrDocType(); _swDocument10 = (SwDMDocument10)_swDocMgr.GetDocument(SDocFileName, _nDocType, false, out _nRetVal); _swDocument13 = (SwDMDocument13)_swDocument10; }
void OpenDoc() { _swDocMgr = _swClassFact.GetApplication(SLicenseKey); _nDocType = SwDocMgrDocType(); _swDocument10 = (SwDMDocument10)_swDocMgr.GetDocument(SDocFileName, _nDocType, false, out _nRetVal); _swDocument13 = (SwDMDocument13)_swDocument10; }