Change document view in JavaScript (ES5) Document editor control
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.
let docEdit: DocumentEditor = new DocumentEditor({ layoutType: 'Continuous'});Note: Default value of
layoutTypein DocumentEditor component isPages.
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.
let container: DocumentEditorContainer = new DocumentEditorContainer({ layoutType: "Continuous" });Note: Default value of
layoutTypein DocumentEditorContainer component isPages.