globalmapper.CropLayerCollar¶
- globalmapper.CropLayerCollar(GM_LayerHandle_t32 aLayer, bool aCropCollar) GM_Error_t32 [source]¶
Enable or disable the automatic cropping of the collar off of previously loaded USGS DRG and DOQQ quads. This function is deprecated. You should use the GetRasterDisplayOptions and SetRasterDisplayOptions functions as they offer the collar cropping option as well as several additional display options.
- Parameters:
aLayer (GM_LayerHandle_t32) – Layer to crop collar from
aCropCollar (bool) – Crop the collar? (TRUE or FALSE)
- Returns:
Error Code
- Return type:
GM_Error_t32