How can I export to c++ to export 2Dtexture?

I am a beginner studying c++ right now. In Unreal 4.14
I want to know how to export the 2Dtexture of the selected actor in the map.

thank you