globalmapper.GetPixelColorRow ============================= .. currentmodule:: globalmapper .. py:function:: GetPixelColorRow (GM_LayerHandle_t32 aLayer, sint32 aRow, COLORREF aInvalidVal) -> GM_Error_t32, COLORREF Retrieves the color values for an entire row of the provided layer. If any pixels don't have valid values they will be replaced by *aInvalidVal*. This function is much faster than individually getting the color value for individual pixels using the :doc:`GetPixelColor` function, so use this to access large portions of a loaded layer. :param GM_LayerHandle_t32 aLayer: Layer to get color from :param sint32 aRow: Y coord of pixel (0 is topmost) :param COLORREF aInvalidVal: Value to use for invalid pixels :returns: Error Code :rtype: GM_Error_t32 :return: Buffer to hold color values :rtype: COLORREF