Abstract: A method of producing a metallic coating on an object emerging from a bath of molten metal. The object can for example be a wire or a plate. A magnetic field is created near the point of exit of the object. The object leaves the bath of molten metal via an exit channel containing a meniscus of the bath of molten metal. The thickness of the metallic coating is controlled as a function of the second derivative of the curve of the meniscus and of a capillary number Ca representing the ratio between the viscous forces of the molten metal and the forces of surface tension at the surface of the molten metal.