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