How to set interaction mode to PanZoom in scripts?

Hi experts,

When I create a Frame Window and drag a symbol in it ,I can set  the property of interaction mode to PanZoom as below:

But I want to use showgraphic() function to show the symbol dynamically ,I can't find the property of interaction mode to set.

How can I achieve this function is scripts?

Thanks in advanced.