Appear dimension in 3D

Hi, how can I dimension my model in a way so that it looks like the image below? And how can I shift the plane of the dimensions? For example, if I want to flip the dimension (142) plan from horizontal to vertical.

T

Thanks in advance.

SolidworksDrawings And Detailing