Vertical split view functions, Dreamweaver.getsplitvieworientation(), Dreamweaver.setsplitvieworientation() – Adobe Dreamweaver API Reference CS5 User Manual
Page 206: Dreamweaver.getprimaryview()
201
DREAMWEAVER API REFERENCE
Workspace
Last updated 8/27/2013
Vertical Split view functions
The Vertical Split view functions facilitate a side-by-side view of the Code and Design or Code and Code Layout
modes. The functions also enable users to choose and switch between the horizontal and vertical orientations of Split
view and Split code.
dreamweaver.getSplitViewOrientation()
Availability
Dreamweaver CS4.
Description
This function displays the current Split view orientation. The orientation can be retrieved even if the view is not split.
In such a case, the return value indicates the orientation if the view is changed to Split view or Split code.
Arguments
None.
Returns
A string value that specifies the orientation. Returns the value
vertical
or
horizontal
depending on the current
orientation.
dreamweaver.setSplitViewOrientation()
Availability
Dreamweaver CS4.
Description
This function changes the current Split view orientation. The orientation can be changed even if the view is not split.
In such a case, the argument indicates the orientation the next time the view is changed to Split view or Split code.
Arguments
A string value that indicates the orientation. Use
vertical
or
horizontal
respectively to indicate the orientation.
This argument is required.
Returns
A Boolean value:
true
if successful,
false
if an error occurs.
dreamweaver.getPrimaryView()
Availability
Dreamweaver CS4.