ItemByName for Document

Top  Previous  Next

The syntax is as follows:

 

Document Doc = (Document)m_Inventor.Documents.ItemByName (sFullDocName) ;

 

You need that cast to (Document).