From d408d1c5513481b545b7d32590b9e7ed0fed6e21 Mon Sep 17 00:00:00 2001 From: ManoMurugan Date: Wed, 29 Oct 2025 09:54:31 +0530 Subject: [PATCH 1/5] 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 | 6 +++++- .../Word/Word-Processor/javascript-es6/paragraph-format.md | 5 ++++- .../Word/Word-Processor/react/paragraph-format.md | 5 ++++- .../Word/Word-Processor/vue/paragraph-format.md | 5 +++-- 7 files changed, 28 insertions(+), 8 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..bc03aeb24 100644 --- a/Document-Processing/Word/Word-Processor/angular/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/angular/paragraph-format.md @@ -64,8 +64,11 @@ this.documentEditor.editor.toggleTextAlignment('Center' | 'Left' | 'Right' | 'Ju You can define the line spacing and its type for selected paragraphs using the following sample code. ```typescript +// Set line spacing type this.documentEditor.selection.paragraphFormat.lineSpacingType='AtLeast'; -this.documentEditor.selection.paragraphFormat.lineSpacing= 6; +// 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 ``` ## Paragraph spacing 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..b2b5fd1f3 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 41e09cd12..e54510a09 100644 --- a/Document-Processing/Word/Word-Processor/javascript-es5/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/javascript-es5/paragraph-format.md @@ -74,8 +74,12 @@ 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..f64d2bc79 100644 --- a/Document-Processing/Word/Word-Processor/javascript-es6/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/javascript-es6/paragraph-format.md @@ -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 33e6aa064d7e9da76e30a0091d7f50f6a883fee8 Mon Sep 17 00:00:00 2001 From: ManoSF4839 Date: Wed, 29 Oct 2025 13:22:28 +0530 Subject: [PATCH 2/5] Update title for paragraph format documentation --- .../Word/Word-Processor/javascript-es5/paragraph-format.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e54510a09..87fb2b2f2 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 | Syncfusion +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 From 476940d3e58d4959b15a3f438fe55a1945531939 Mon Sep 17 00:00:00 2001 From: ManoSF4839 Date: Wed, 29 Oct 2025 13:23:05 +0530 Subject: [PATCH 3/5] Update title in paragraph-format.md --- .../Word/Word-Processor/javascript-es6/paragraph-format.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f64d2bc79..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 From c8f3b1dd168aedb1ef3ca1623fe9c132e558f3c5 Mon Sep 17 00:00:00 2001 From: ManoSF4839 Date: Fri, 31 Oct 2025 15:28:28 +0530 Subject: [PATCH 4/5] Update paragraph-format.md to include document-editor.cs --- .../Word/Word-Processor/asp-net-mvc/paragraph-format.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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..f44fcdc05 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 @@ -152,7 +152,9 @@ documenteditor.documentEditorSettings.showHiddenMarks = true; {% include code-snippet/document-editor/asp-net-mvc/paragraph-format/razor %} {% endhighlight %} {% highlight c# tabtitle="Paragraph-format.cs" %} -{% endhighlight %}{% endtabs %} +{% include code-snippet/document-editor/asp-net-mvc/paragraph-format/document-editor.cs %} +{% endhighlight %} +{% endtabs %} From 6fd402ab53ed44e0b46a36aa2eb34e5afeadfc8b Mon Sep 17 00:00:00 2001 From: ManoSF4839 Date: Fri, 31 Oct 2025 15:29:49 +0530 Subject: [PATCH 5/5] 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 b2b5fd1f3..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 @@ -152,7 +152,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