How do the size of the current in the coil affect the strength of a electromagnet?

It's directly proportional.