Change document view in React Document editor component
1 Jul 20261 minute to read
How to change the document view in DocumentEditor component
React DOCX Editor (Document Editor) allows you to change the view to web layout and print using the layoutType property with the supported LayoutType.
<DocumentEditorComponent id="container" layoutType={'Continuous'} />
Note: Default value of
layoutTypein Document Editor component isPages.
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.
<DocumentEditorContainerComponent id="container" layoutType={'Continuous'} enableToolbar={true}/>
Note: Default value of
layoutTypein Document Editor Container component isPages.