Ortho Camera Heigh-Locked Setup

Hi everyone!

I would like to ask, if it is possible to Lock Orthographic Camera Aspect ratio changing based not on width, but on height.
I would like to let the App find out proper width size for resolution, not height. This setup is for self-counting of height size of resolution.
Thanks for any help!