Search results

Change document view in React DocumentEditor component

15 Oct 2021 / 1 minute to read

How to change the document view in DocumentEditor component

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

Copied to clipboard
 <DocumentEditorComponent id="container" layoutType={'Continuous'} />

Note: Default value of layoutType in Document Editor component is Pages.

How to change the document view in DocumentEditorContainer component

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

Copied to clipboard
<DocumentEditorContainerComponent id="container" layoutType={'Continuous'} enableToolbar={true}/>

Note: Default value of layoutType in Document Editor Container component is Pages.