Skip to content

935866: Added note for the limitation of margin value in Core and MVC #3836

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ej2-asp-core-mvc/document-editor/section-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ documenteditor.selection.sectionFormat.bottomMargin = 10;
documenteditor.selection.sectionFormat.topMargin = 10;
```

>Note: The maximum value of Margin is 1584, as per Microsoft Word application and you can set any value less than or equal to 1584 to this property. If you set any value greater than 1584, then Syncfusion Document editor will automatically reset as 1584.

## Header distance

You can define the distance of header content from the top of the page by using the following sample code.
Expand All @@ -53,4 +55,4 @@ documenteditor.selection.sectionFormat.footerDistance = 72;

## See Also

* [Pagesetup dialog](../document-editor/dialog#page-setup-dialog)
* [Pagesetup dialog](../document-editor/dialog#page-setup-dialog)