Search results

Change document view in Vue DocumentEditor component

20 Jul 2021 / 1 minute to read

How to change the document view in DocumentEditor component

DocumentEditor allows you to change the view to web layout and print using the layoutType property with the supported LayoutType.

Copied to clipboard
<ejs-documenteditor :layoutType='Continuous' id='container'></ejs-documenteditor>

Note: Default value of layoutType in DocumentEditor component is Pages.

How to change the document view in DocumentEditorContainer component

DocumentEditorContainer component allows you to change the view to web layout and print using the layoutType property with the supported LayoutType.

Copied to clipboard
<ejs-documenteditorcontainer :layoutType='Continuous' id='container'></ejs-documenteditorcontainer>

Note: Default value of layoutType in DocumentEditorContainer component is Pages.