globalmapper.CropLayerCollar

globalmapper.CropLayerCollar(GM_LayerHandle_t32 aLayer, boolean 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 (boolean) – Crop the collar? (TRUE or FALSE)

Returns

Error Code

Return type

GM_Error_t32