Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 12 additions & 0 deletions Document-Processing/Word/Word-Processor/angular/text-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,18 @@ let highlightColor : HighlightColor = documenteditor.selection.characterFormat.h
documenteditor.selection.characterFormat.highlightColor= 'Pink';
```

## Bidirectional (Bidi)

The Bidi property controls whether selected text is displayed as right-to-left (RTL) or left-to-right (LTR) for proper multilingual formatting. You can get or set this property using the following code example.

```typescript
// Get Bidi value of selected text
let bidi: boolean = documenteditor.selection.characterFormat.bidi;

// Set Bidi for selected text
documenteditor.selection.characterFormat.bidi= true;
```

## Toolbar with options for text formatting

Refer to the following example.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,18 @@ The highlight color of the selected text can be get or set using the following s
documenteditor.selection.characterFormat.highlightColor= 'Pink';
```

## Bidirectional (Bidi)

The Bidi property controls whether selected text is displayed as right-to-left (RTL) or left-to-right (LTR) for proper multilingual formatting. You can get or set this property using the following code example.

```typescript
// Get Bidi value of selected text
var bidi = documenteditor.selection.characterFormat.bidi;

// Set Bidi for selected text
documenteditor.selection.characterFormat.bidi= true;
```

## Toolbar with options for text formatting


Expand Down
12 changes: 12 additions & 0 deletions Document-Processing/Word/Word-Processor/asp-net-mvc/text-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,18 @@ The highlight color of the selected text can be get or set using the following s
documenteditor.selection.characterFormat.highlightColor= 'Pink';
```

## Bidirectional (Bidi)

The Bidi property controls whether selected text is displayed as right-to-left (RTL) or left-to-right (LTR) for proper multilingual formatting. You can get or set this property using the following code example.

```typescript
// Get Bidi value of selected text
var bidi = documenteditor.selection.characterFormat.bidi;

// Set Bidi for selected text
documenteditor.selection.characterFormat.bidi= true;
```

## Toolbar with options for text formatting


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,18 @@ documenteditor.selection.characterFormat.highlightColor = 'Pink';

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)

## Bidirectional (Bidi)

The Bidi property controls whether selected text is displayed as right-to-left (RTL) or left-to-right (LTR) for proper multilingual formatting. You can get or set this property using the following code example.

```js
// Get Bidi value of selected text
var bidi = documenteditor.selection.characterFormat.bidi;

// Set Bidi for selected text
documenteditor.selection.characterFormat.bidi= true;
```

## Toolbar with options for text formatting

Refer to the following example.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,18 @@ documenteditor.selection.characterFormat.highlightColor = 'Pink';

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)

## Bidirectional (Bidi)

The Bidi property controls whether selected text is displayed as right-to-left (RTL) or left-to-right (LTR) for proper multilingual formatting. You can get or set this property using the following code example.

```ts
// Get Bidi value of selected text
let bidi: boolean = documenteditor.selection.characterFormat.bidi;

// Set Bidi for selected text
documenteditor.selection.characterFormat.bidi= true;
```

## Toolbar with options for text formatting

Refer to the following example.
Expand Down
12 changes: 12 additions & 0 deletions Document-Processing/Word/Word-Processor/react/text-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,18 @@ let highlightColor : HighlightColor = documenteditor.selection.characterFormat.h
documenteditor.selection.characterFormat.highlightColor= 'Pink';
```

## Bidirectional (Bidi)

The Bidi property controls whether selected text is displayed as right-to-left (RTL) or left-to-right (LTR) for proper multilingual formatting. You can get or set this property using the following code example.

```ts
// Get Bidi value of selected text
let bidi: boolean = documenteditor.selection.characterFormat.bidi;

// Set Bidi for selected text
documenteditor.selection.characterFormat.bidi= true;
```

## Toolbar with options for text formatting

Refer to the following example.
Expand Down
12 changes: 12 additions & 0 deletions Document-Processing/Word/Word-Processor/vue/text-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,18 @@ let highlightColor : HighlightColor = this.$refs.documenteditor.ej2instances.sel
this.$refs.documenteditor.ej2Instances.selection.characterFormat.highlightColor= 'Pink';
```

## Bidirectional (Bidi)

The Bidi property controls whether selected text is displayed as right-to-left (RTL) or left-to-right (LTR) for proper multilingual formatting. You can get or set this property using the following code example.

```ts
// Get Bidi value of selected text
let bidi: boolean = this.$refs.documenteditor.ej2Instances.selection.characterFormat.bidi;

// Set Bidi for selected text
this.$refs.documenteditor.ej2Instances.selection.characterFormat.bidi= true;
```

## Toolbar with options for text formatting

Refer to the following example.
Expand Down