Studies of magnetic microstructures with soft X-ray transmission microscopy