Is it possible to reduce margin when using web layout ?

Hello, is it possible to reduce all margins (right, left, header, footer) when using web layout (this.documentEditor.layoutType = 'Continuous') ?

I don't want to change the margins of the document, but the way it is displayed:


doceditorMargins.png


3 Replies

MA Mohammed Affan Saqib Hussain Syncfusion Team December 9, 2024 01:26 PM UTC

Hi Frédéric,

When switching to the web layout, changes made to the margins are not visible in the layout itself. However, these changes are saved in the document. When you switch back to the print layout, the modified margins will be retained. This occurs because the web layout lacks a section format. So the changes made to the margins will not be visible in the web layout.

Regards,

Mohammed Affan C




FR Frédéric December 9, 2024 02:06 PM UTC

Hello,

We don't understand each other.

I don't want margin changes to be visible in web layout mode.

I want to modify the web layout display itself. My aim is to take up less display space (on the right, left, top and bottom of the document).



MA Mohammed Affan Saqib Hussain Syncfusion Team December 11, 2024 01:54 PM UTC

Hi Frédéric,

The Document Editor currently does not support modifying the web layout.

The large top margin is due to the spacing in the first paragraph. Please see the image below for your reference.


Regards,

Mohammed Affan C


Loader.
Up arrow icon