Two people were taken to hospital and nine were treated at the scene after they left the building by ladder.