1) MONITOR must be set to 1:1 scaling (not aspect), then
2) Choose a lower monitor resolution.
For example, if you had a 1920x1080 monitor and chose 1600x900 you'd physically be using 1600x900 pixels so you'd have black bars around the used portion.
No idea why you'd want to do this though.