Skip to content

Commit 17aa686

Browse files
authored
Merge branch 'development' into 993089-spellcheckD
2 parents 67083e2 + 801c840 commit 17aa686

File tree

13 files changed

+37
-17
lines changed

13 files changed

+37
-17
lines changed

Document-Processing/Release-Notes/v31.2.12.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ documentation: ug
1515

1616
{% enddirectory %}
1717

18+
1819
## Test Results
1920

2021
| Component Name | Test Cases | Passed | Failed | Remarks |

Document-Processing/Word/Word-Processor/angular/paragraph-format.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,11 @@ this.documentEditor.editor.toggleTextAlignment('Center' | 'Left' | 'Right' | 'Ju
6464
You can define the line spacing and its type for selected paragraphs using the following sample code.
6565

6666
```typescript
67+
// Set line spacing type
6768
this.documentEditor.selection.paragraphFormat.lineSpacingType='AtLeast';
68-
this.documentEditor.selection.paragraphFormat.lineSpacing= 6;
69+
// Set line spacing value (supports both integer and float)
70+
this.documentEditor.selection.paragraphFormat.lineSpacing= 6; // Integer value
71+
this.documentEditor.selection.paragraphFormat.lineSpacing= 6.5; // Float value
6972
```
7073

7174
## Paragraph spacing

Document-Processing/Word/Word-Processor/angular/text-format.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ The highlight color of the selected text can be get or set using the following s
186186
let highlightColor : HighlightColor = documenteditor.selection.characterFormat.highlightColor;
187187
//Sets highlightColor formatting for selected text.
188188
documenteditor.selection.characterFormat.highlightColor= 'Pink';
189-
documenteditor.selection.characterFormat.highlightColor= '#FFC0CB';
190189
```
191190

192191
## Toolbar with options for text formatting

Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,11 @@ documenteditor.editor.toggleTextAlignment('Center' | 'Left' | 'Right' | 'Justify
6464
You can define the line spacing and its type for selected paragraphs using the following sample code.
6565

6666
```typescript
67+
// Set line spacing type
6768
documenteditor.selection.paragraphFormat.lineSpacingType='AtLeast';
68-
documenteditor.selection.paragraphFormat.lineSpacing= 6;
69+
// Set line spacing value (supports both integer and float)
70+
documenteditor.selection.paragraphFormat.lineSpacing= 6; // Integer value
71+
documenteditor.selection.paragraphFormat.lineSpacing= 6.5; // Float value
6972
```
7073

7174
## Paragraph spacing
@@ -149,7 +152,9 @@ documenteditor.documentEditorSettings.showHiddenMarks = true;
149152
{% include code-snippet/document-editor/asp-net-core/paragraph-format/tagHelper %}
150153
{% endhighlight %}
151154
{% highlight c# tabtitle="Paragraph-format.cs" %}
152-
{% endhighlight %}{% endtabs %}
155+
{% include code-snippet/document-editor/asp-net-core/paragraph-format/document-editor.cs %}
156+
{% endhighlight %}
157+
{% endtabs %}
153158

154159

155160
## See Also

Document-Processing/Word/Word-Processor/asp-net-core/text-format.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ The highlight color of the selected text can be get or set using the following s
157157

158158
```typescript
159159
documenteditor.selection.characterFormat.highlightColor= 'Pink';
160-
documenteditor.selection.characterFormat.highlightColor= '#FFC0CB';
161160
```
162161

163162
## Toolbar with options for text formatting

Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,11 @@ documenteditor.editor.toggleTextAlignment('Center' | 'Left' | 'Right' | 'Justify
6464
You can define the line spacing and its type for selected paragraphs using the following sample code.
6565

6666
```typescript
67+
// Set line spacing type
6768
documenteditor.selection.paragraphFormat.lineSpacingType='AtLeast';
68-
documenteditor.selection.paragraphFormat.lineSpacing= 6;
69+
// Set line spacing value (supports both integer and float)
70+
documenteditor.selection.paragraphFormat.lineSpacing= 6; // Integer value
71+
documenteditor.selection.paragraphFormat.lineSpacing= 6.5; // Float value
6972
```
7073

7174
## Paragraph spacing
@@ -149,7 +152,9 @@ documenteditor.documentEditorSettings.showHiddenMarks = true;
149152
{% include code-snippet/document-editor/asp-net-mvc/paragraph-format/razor %}
150153
{% endhighlight %}
151154
{% highlight c# tabtitle="Paragraph-format.cs" %}
152-
{% endhighlight %}{% endtabs %}
155+
{% include code-snippet/document-editor/asp-net-mvc/paragraph-format/document-editor.cs %}
156+
{% endhighlight %}
157+
{% endtabs %}
153158

154159

155160

Document-Processing/Word/Word-Processor/asp-net-mvc/text-format.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ The highlight color of the selected text can be get or set using the following s
157157

158158
```typescript
159159
documenteditor.selection.characterFormat.highlightColor= 'Pink';
160-
documenteditor.selection.characterFormat.highlightColor= '#FFC0CB';
161160
```
162161

163162
## Toolbar with options for text formatting

Document-Processing/Word/Word-Processor/javascript-es5/paragraph-format.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: post
3-
title: Paragraph format in JavaScript (ES5) Document editor control
3+
title: Paragraph format in JavaScript (ES5) Document editor | Syncfusion
44
description: Learn here all about Paragraph format in Syncfusion JavaScript (ES5) Document editor control of Syncfusion Essential JS 2 and more.
55
platform: document-processing
66
control: Paragraph format
@@ -74,8 +74,12 @@ documenteditor.editor.toggleTextAlignment('Center' | 'Left' | 'Right' | 'Justify
7474
You can define the line spacing and its type for selected paragraphs using the following sample code.
7575

7676
```ts
77+
// Set line spacing type
7778
documenteditor.selection.paragraphFormat.lineSpacingType = 'AtLeast';
78-
documenteditor.selection.paragraphFormat.lineSpacing = 6;
79+
// Set line spacing value (supports both integer and float)
80+
documenteditor.selection.paragraphFormat.lineSpacing = 6; // Integer value
81+
documenteditor.selection.paragraphFormat.lineSpacing = 6.5; // Float value
82+
7983
```
8084

8185
## Paragraph spacing

Document-Processing/Word/Word-Processor/javascript-es5/text-format.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ The highlight color of the selected text can be get or set using the following s
186186
let highlightColor : HighlightColor = documenteditor.selection.characterFormat.highlightColor;
187187
//Sets highlightColor formatting for selected text.
188188
documenteditor.selection.characterFormat.highlightColor = 'Pink';
189-
documenteditor.selection.characterFormat.highlightColor = '#FFC0CB';
190189
```
191190

192191
N> 1. Character scaling and spacing present in the input Word document will be preserved in the exported Word document. N> 2. Scaling is implemented using the letterSpacing property, which may present compatibility problems. For more information, please refer to this [link](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/letterSpacing#browser_compatibility)

Document-Processing/Word/Word-Processor/javascript-es6/paragraph-format.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: post
3-
title: Paragraph format in JavaScript (ES6) Document editor control | Syncfusion
3+
title: Paragraph format in JavaScript (ES6) Document editor | Syncfusion
44
description: Learn here all about Paragraph format in Syncfusion JavaScript (ES6) Document editor control of Syncfusion Essential JS 2 and more.
55
platform: document-processing
66
control: Paragraph format
@@ -74,8 +74,11 @@ documenteditor.editor.toggleTextAlignment('Center' | 'Left' | 'Right' | 'Justify
7474
You can define the line spacing and its type for selected paragraphs using the following sample code.
7575

7676
```ts
77+
// Set line spacing type
7778
documenteditor.selection.paragraphFormat.lineSpacingType = 'AtLeast';
78-
documenteditor.selection.paragraphFormat.lineSpacing = 6;
79+
// Set line spacing value (supports both integer and float)
80+
documenteditor.selection.paragraphFormat.lineSpacing = 6; // Integer value
81+
documenteditor.selection.paragraphFormat.lineSpacing = 6.5; // Float value
7982
```
8083

8184
## Paragraph spacing

0 commit comments

Comments
 (0)