 customarily , in both vacuum and gas.However, the contrast decreases accordingly as the electron probe loses current with travel distance and increase of pressure.The loss of current intensity, if necessary, can be compensated by increasing the incident beam current which is accompanied by an increased spot size.