GM_SetExportCropAreas

Hi
After using GM_SetExportCropAreas to set a crop area, how do I then remove it for future exports? The problem I'm having is some images have a feature to crop to and then this needs to be cleared for subsequent exports. At the moment all subsequent exports are coming out blank as the crop area isn't necessarily in the rectangle of them.
Cheers
Nick
After using GM_SetExportCropAreas to set a crop area, how do I then remove it for future exports? The problem I'm having is some images have a feature to crop to and then this needs to be cleared for subsequent exports. At the moment all subsequent exports are coming out blank as the crop area isn't necessarily in the rectangle of them.
Cheers
Nick
Comments
If you call as GM_SetExportCropAreas( NULL, 0, NULL ) it should reset.
Thanks,
Mike
Global Mapper Guru
gmsupport@bluemarblegeo.com
http://www.bluemarblegeo.com/
My C# app won't let me pass null to this function, it wants refs to GM_AreaFeature_t and GM_Projection_t objects.
Any ideas?
Cheers
Nick
Oh silly C#. If you create an alternate definition of the function you can have those pointer parameters defined as IntPtr rather the reference to those objects, then you can pass in IntPtr.Null for the parameters.
Thanks,
Mike
Global Mapper Guru
gmsupport@bluemarblegeo.com
http://www.bluemarblegeo.com/
Nick