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 layoutType in the DOCX Editor component is Pages.

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 layoutType in the Document Editor Container component is Pages.