From 948dccb116392d548d68a5a97cf34e72924c43d9 Mon Sep 17 00:00:00 2001 From: ManoSF4839 Date: Fri, 31 Oct 2025 15:29:49 +0530 Subject: [PATCH 1/3] Update paragraph-format.md with new code snippet --- .../Word/Word-Processor/asp-net-core/paragraph-format.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md b/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md index 79eea84f7..8c3c11d51 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md @@ -149,7 +149,9 @@ documenteditor.documentEditorSettings.showHiddenMarks = true; {% include code-snippet/document-editor/asp-net-core/paragraph-format/tagHelper %} {% endhighlight %} {% highlight c# tabtitle="Paragraph-format.cs" %} -{% endhighlight %}{% endtabs %} +{% include code-snippet/document-editor/asp-net-core/paragraph-format/document-editor.cs %} +{% endhighlight %} +{% endtabs %} ## See Also From 6e9a9a29d0b428f288acaf5a7848272d95bd70a6 Mon Sep 17 00:00:00 2001 From: manomurugan Date: Mon, 1 Dec 2025 13:59:05 +0530 Subject: [PATCH 2/3] 972568: Add comment to set double values in LineSpacing All Platform --- .../Word/Word-Processor/angular/paragraph-format.md | 5 ++++- .../Word/Word-Processor/asp-net-core/paragraph-format.md | 5 ++++- .../Word/Word-Processor/asp-net-mvc/paragraph-format.md | 5 ++++- .../Word/Word-Processor/javascript-es5/paragraph-format.md | 7 +++++-- .../Word/Word-Processor/javascript-es6/paragraph-format.md | 7 +++++-- .../Word/Word-Processor/react/paragraph-format.md | 5 ++++- .../Word/Word-Processor/vue/paragraph-format.md | 5 +++-- 7 files changed, 29 insertions(+), 10 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/angular/paragraph-format.md b/Document-Processing/Word/Word-Processor/angular/paragraph-format.md index c1ddd467d..72fdbb48b 100644 --- a/Document-Processing/Word/Word-Processor/angular/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/angular/paragraph-format.md @@ -73,8 +73,11 @@ this.documentEditor.selection.paragraphFormat.lineSpacing= 6; You can define the spacing before or after the paragraph by using the following sample code. ```typescript +// Set line spacing type this.documentEditor.selection.paragraphFormat.beforeSpacing= 24; -this.documentEditor.selection.paragraphFormat.afterSpacing= 24; +// Set line spacing value (supports both integer and float) +this.documentEditor.selection.paragraphFormat.lineSpacing= 6; // Integer value +this.documentEditor.selection.paragraphFormat.lineSpacing= 6.5; // Float value ``` You can also set automatic spacing before and after the paragraph by using the following sample code. diff --git a/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md b/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md index 8c3c11d51..d27677734 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md @@ -64,8 +64,11 @@ documenteditor.editor.toggleTextAlignment('Center' | 'Left' | 'Right' | 'Justify You can define the line spacing and its type for selected paragraphs using the following sample code. ```typescript +// Set line spacing type documenteditor.selection.paragraphFormat.lineSpacingType='AtLeast'; -documenteditor.selection.paragraphFormat.lineSpacing= 6; +// Set line spacing value (supports both integer and float) +documenteditor.selection.paragraphFormat.lineSpacing= 6; // Integer value +documenteditor.selection.paragraphFormat.lineSpacing= 6.5; // Float value ``` ## Paragraph spacing diff --git a/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md b/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md index a8702e7da..27bb91b43 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md @@ -64,8 +64,11 @@ documenteditor.editor.toggleTextAlignment('Center' | 'Left' | 'Right' | 'Justify You can define the line spacing and its type for selected paragraphs using the following sample code. ```typescript +// Set line spacing type documenteditor.selection.paragraphFormat.lineSpacingType='AtLeast'; -documenteditor.selection.paragraphFormat.lineSpacing= 6; +// Set line spacing value (supports both integer and float) +documenteditor.selection.paragraphFormat.lineSpacing= 6; // Integer value +documenteditor.selection.paragraphFormat.lineSpacing= 6.5; // Float value ``` ## Paragraph spacing diff --git a/Document-Processing/Word/Word-Processor/javascript-es5/paragraph-format.md b/Document-Processing/Word/Word-Processor/javascript-es5/paragraph-format.md index 9bdcdb9d3..295dbf54e 100644 --- a/Document-Processing/Word/Word-Processor/javascript-es5/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/javascript-es5/paragraph-format.md @@ -1,6 +1,6 @@ --- layout: post -title: Paragraph format in JavaScript (ES5) Document editor control +title: Paragraph format in JavaScript (ES5) Document editor | Syncfusion description: Learn here all about Paragraph format in Syncfusion JavaScript (ES5) Document editor control of Syncfusion Essential JS 2 and more. platform: document-processing control: Paragraph format @@ -74,8 +74,11 @@ documenteditor.editor.toggleTextAlignment('Center' | 'Left' | 'Right' | 'Justify You can define the line spacing and its type for selected paragraphs using the following sample code. ```ts +// Set line spacing type documenteditor.selection.paragraphFormat.lineSpacingType = 'AtLeast'; -documenteditor.selection.paragraphFormat.lineSpacing = 6; +// Set line spacing value (supports both integer and float) +documenteditor.selection.paragraphFormat.lineSpacing = 6; // Integer value +documenteditor.selection.paragraphFormat.lineSpacing = 6.5; // Float value ``` ## Paragraph spacing diff --git a/Document-Processing/Word/Word-Processor/javascript-es6/paragraph-format.md b/Document-Processing/Word/Word-Processor/javascript-es6/paragraph-format.md index e0b70222f..8f1d9ddfc 100644 --- a/Document-Processing/Word/Word-Processor/javascript-es6/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/javascript-es6/paragraph-format.md @@ -1,6 +1,6 @@ --- layout: post -title: Paragraph format in JavaScript (ES6) Document editor control | Syncfusion +title: Paragraph format in JavaScript (ES6) Document editor | Syncfusion description: Learn here all about Paragraph format in Syncfusion JavaScript (ES6) Document editor control of Syncfusion Essential JS 2 and more. platform: document-processing control: Paragraph format @@ -74,8 +74,11 @@ documenteditor.editor.toggleTextAlignment('Center' | 'Left' | 'Right' | 'Justify You can define the line spacing and its type for selected paragraphs using the following sample code. ```ts +// Set line spacing type documenteditor.selection.paragraphFormat.lineSpacingType = 'AtLeast'; -documenteditor.selection.paragraphFormat.lineSpacing = 6; +// Set line spacing value (supports both integer and float) +documenteditor.selection.paragraphFormat.lineSpacing = 6; // Integer value +documenteditor.selection.paragraphFormat.lineSpacing = 6.5; // Float value ``` ## Paragraph spacing diff --git a/Document-Processing/Word/Word-Processor/react/paragraph-format.md b/Document-Processing/Word/Word-Processor/react/paragraph-format.md index 49a6b9354..3702e82d3 100644 --- a/Document-Processing/Word/Word-Processor/react/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/react/paragraph-format.md @@ -64,8 +64,11 @@ documenteditor.editor.toggleTextAlignment('Center' | 'Left' | 'Right' | 'Justify You can define the line spacing and its type for selected paragraphs using the following sample code. ```ts +// Set line spacing type documenteditor.selection.paragraphFormat.lineSpacingType='AtLeast'; -documenteditor.selection.paragraphFormat.lineSpacing= 6; +// Set line spacing value (supports both integer and float) +documenteditor.selection.paragraphFormat.lineSpacing= 6; // Integer value +documenteditor.selection.paragraphFormat.lineSpacing= 6.5; // Float value ``` ## Paragraph spacing diff --git a/Document-Processing/Word/Word-Processor/vue/paragraph-format.md b/Document-Processing/Word/Word-Processor/vue/paragraph-format.md index 764ac2317..53216ad16 100644 --- a/Document-Processing/Word/Word-Processor/vue/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/vue/paragraph-format.md @@ -67,8 +67,9 @@ You can define the line spacing and its type for selected paragraphs using the f //Set line spacing type. this.$refs.documenteditor.ej2Instances.selection.paragraphFormat.lineSpacingType='AtLeast'; -//Set line spacing. -this.$refs.documenteditor.ej2Instances.selection.paragraphFormat.lineSpacing= 6; +// Set line spacing value (supports both integer and float) +this.$refs.documenteditor.ej2Instances.selection.paragraphFormat.lineSpacing= 6; // Integer value +this.$refs.documenteditor.ej2Instances.selection.paragraphFormat.lineSpacing= 6.5; // Float value ``` ## Paragraph spacing From 182fc876a9c23ebcc7516bb9452772b6f7535583 Mon Sep 17 00:00:00 2001 From: ManoSF4839 Date: Mon, 1 Dec 2025 15:13:43 +0530 Subject: [PATCH 3/3] resolve the CI failure --- .../Word/Word-Processor/asp-net-mvc/paragraph-format.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md b/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md index 27bb91b43..a5ae4ec07 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md @@ -151,8 +151,7 @@ documenteditor.documentEditorSettings.showHiddenMarks = true; {% highlight razor tabtitle="CSHTML" %} {% include code-snippet/document-editor/asp-net-mvc/paragraph-format/razor %} {% endhighlight %} -{% highlight c# tabtitle="Paragraph-format.cs" %} -{% endhighlight %}{% endtabs %} +{% endtabs %}