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?
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