How to Change Document View in Vue DOCX Editor
28 Aug 20261 minute to read
How to change the document view in the DocumentEditor component
Vue DOCX Editor (Document Editor) allows you to change the view between web layout and print using the layoutType property with the supported LayoutType.
<ejs-documenteditor :layoutType='Continuous' id='container'></ejs-documenteditor>
The default value of
layoutTypein the DOCX Editor component isPages.
How to change the document view in the DocumentEditorContainer component
The Document Editor Container component allows you to change the view between web layout and print using the layoutType property with the supported LayoutType.
<ejs-documenteditorcontainer :layoutType='Continuous' id='container'></ejs-documenteditorcontainer>
The default value of
layoutTypein the Document Editor Container component isPages.