Skip to content

Commit ae7a7f1

Browse files
Merge pull request #1897 from Syncfusion-Content/hotfix/hotfix-v31.2.12
DOCINFRA-2341_merged_using_automation
2 parents e8d812c + a8952c4 commit ae7a7f1

File tree

14 files changed

+41
-22
lines changed

14 files changed

+41
-22
lines changed

Document-Processing-toc.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6007,8 +6007,8 @@
60076007
<a href="/document-processing/excel/conversions/excel-to-pdf/net/Excel-to-PDF-Converter-Settings">Excel to PDF Converter Settings</a>
60086008
</li>
60096009
<li>
6010-
                 <a href="/document-processing/excel/conversions/excel-to-pdf/net/Performance-Metrics">Performance Metrics</a>
6011-
               </li>
6010+
<a href="/document-processing/excel/conversions/excel-to-pdf/net/Performance-Metrics">Performance Metrics</a>
6011+
</li>
60126012
<li>
60136013
<a href="/document-processing/excel/conversions/excel-to-pdf/net/faq">FAQ</a>
60146014
<ul>

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,11 @@ this.documentEditor.selection.paragraphFormat.lineSpacing= 6;
7373
You can define the spacing before or after the paragraph by using the following sample code.
7474

7575
```typescript
76+
// Set line spacing type
7677
this.documentEditor.selection.paragraphFormat.beforeSpacing= 24;
77-
this.documentEditor.selection.paragraphFormat.afterSpacing= 24;
78+
// Set line spacing value (supports both integer and float)
79+
this.documentEditor.selection.paragraphFormat.lineSpacing= 6; // Integer value
80+
this.documentEditor.selection.paragraphFormat.lineSpacing= 6.5; // Float value
7881
```
7982

8083
You can also set automatic spacing before and after the paragraph by using the following sample code.

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: 5 additions & 3 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
@@ -148,8 +151,7 @@ documenteditor.documentEditorSettings.showHiddenMarks = true;
148151
{% highlight razor tabtitle="CSHTML" %}
149152
{% include code-snippet/document-editor/asp-net-mvc/paragraph-format/razor %}
150153
{% endhighlight %}
151-
{% highlight c# tabtitle="Paragraph-format.cs" %}
152-
{% endhighlight %}{% endtabs %}
154+
{% endtabs %}
153155

154156

155157

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: 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 (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,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

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)