Since the logic involved behind an electromagnet to work is that the necessary force must be driven by the voltage. The strength of an electromagnet doesn't-depends on what drives the current. The electric current flowing through the wires of electromagnet determines the strength of an electromagnet.