Driveshaft measuring

I am measuring for driveshaft to be shortened, My question is when you bottom out yoke to output of trans. can this be done with rubber boot on tailshaft.?
yes you measure from center of front u joint to center of rear u joint