same technique as with the seat tube. measure distance between flanges, divide by two, measure distance from drive side flange to cog. calipers are invaluable for all this.
edit: assuming the wheel is symetrically spaced.
edit2:
http://www.sheldonbrown.com/chainline