globalmapper.CropLayerCollar ============================ .. currentmodule:: globalmapper .. py:function:: CropLayerCollar (GM_LayerHandle_t32 aLayer, bool aCropCollar) -> GM_Error_t32 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 :doc:`GetRasterDisplayOptions` and :doc:`SetRasterDisplayOptions` functions as they offer the collar cropping option as well as several additional display options. :param GM_LayerHandle_t32 aLayer: Layer to crop collar from :param bool aCropCollar: Crop the collar? (TRUE or FALSE) :returns: Error Code :rtype: GM_Error_t32