3

I created an in-memory results ITable and I need to add it to the current ArcMap document/map to see the generated data.

How can I do it?

8

Try creating a new IStandaloneTable, assign your table to IStandaloneTable.Table, cast the focus map to IStandaloneTableCollection, and add the standalonetable to it.

Might need to call IMxDocument.UpdateContents too.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.