How nvapi to change surround resolution?

I open surround, let two monitor change to 1 monitor.
How can I change monitor’s resolution?