Change document view
11 Sep 20251 minute to read
How to change the document view in DocumentEditor component
DocumentEditor allows to change the view to web layout and print using the layoutType property with the supported LayoutType
@Html.EJS().DocumentEditor("container").LayoutType(Syncfusion.EJ2.DocumentEditor.LayoutType.Continuous).Render()NOTE
Default value of
layoutTypein DocumentEditor component isPages.
How to change the document view in DocumentEditorContainer component
DocumentEditorContainer component allows to change the view to web layout and print using the layoutType property with the supported LayoutType
@Html.EJS().DocumentEditorContainer("container").LayoutType(Syncfusion.EJ2.DocumentEditor.LayoutType.Continuous).Render()NOTE
Default value of
layoutTypein DocumentEditorContainer component isPages.