/Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h
Returns the heightmap for this component. If InReturnEditingHeightmap is passed, returns the currently active edit layer's heightmap :
[UTexture2D](API\Runtime\Engine\Engine\UTexture2D) * GetHeightmap ( bool InReturnEditingHeightmap ) const