次の方法で共有


restoreOriginalSettings method

Resets the viewport to cached dimensions and orientation.

Note  These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.

 

 

Syntax

DiagnosticsViewport.restoreOriginalSettings();

Parameters

This method has no parameters.

Return value

This method does not return a value.

See also

DiagnosticsViewport