Viewport which fits object

How do you display an object in a viewport which fits and looks perfectly.


If I have a baseplate which isn’t a model and is sized (2000,290,2000) how would I get it to look perfectly and fit on the viewport?

If I have a model how would I get it to fit perfectly?

I still haven’t figured out how to do this.

Any help will be appreciated!