How to apply YFOV to viewport?

I know this console command can turn fov into vertical fov for player

[/Script/Engine.LocalPlayer]
AspectRatioAxisConstraint=AspectRatio_MaintainYFOV

How can i do this for editor viewport?