Calculation of work function using dmol3

Dear All,

I want to draw an energy diagram using the dmol3 module.

Is it possible to get the vacuum level value through the DMol3 module as shown in the figure below?