I'm trying to export raster using IRasterLayerExport3, but it saves raster file only after closing ArcMap. It seams that IRasterLayerExport3 creates placeholders for raster (empty file - 3kb), and it keeps all information in memory or maybe in temporary file. And it writes data to an empty file only after creating a new map document or closing ArcMap. Any ideas about this?

closed as off-topic by Vince, PolyGeo Dec 7 '15 at 23:26

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – Vince, PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Please edit the question to provide an MCVE that demonstrates your problem. Be sure to include your cleanup code, because this is the likely cause. – Vince Dec 7 '15 at 22:46