diff --git a/Document-Processing/Word/Word-Processor/asp-net-core/how-to/get-current-word.md b/Document-Processing/Word/Word-Processor/asp-net-core/how-to/get-current-word.md index 3d9c9ded5b..a5cd0bb559 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-core/how-to/get-current-word.md +++ b/Document-Processing/Word/Word-Processor/asp-net-core/how-to/get-current-word.md @@ -1,19 +1,19 @@ --- layout: post -title: Get current Word/Para in Document editor control | Syncfusion -description: Learn how to select and retrieve current word and Paragraph from the Syncfusion Document Editor Component +title: Get current Word/Para in Syncfusion DOCX Editor control | Syncfusion +description: Learn how to select and retrieve the current word and paragraph from the Syncfusion Document Editor component. platform: document-processing -control: Get The Current Word And Paragrapgh -documentation: ug +control: Get The Current Word And Paragraph +documentation: ug --- -# How to select and retrieve the word and paragraph in current cursor position in Document Editor component +# How to select and retrieve the word and paragraph at the current cursor position in Document Editor component -You can get the current word or paragraph content from the [ASP.NET Core DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor) (Document Editor) component as plain text and SFDT (rich text). +You can get the current word or paragraph content from the [ASP.NET Core DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor) (Document Editor) component as plain text and SFDT (rich text). ## Select and get the word in current cursor position -You can use [`selectCurrentWord`] API in selection module to select the current word at cursor position and use [`text`] API to get the selected content as plain text from Document Editor component. +You can use the [`selectCurrentWord`] API in the selection module to select the current word at the cursor position and use the [`text`] API to get the selected content as plain text from the Document Editor component. The following example code illustrates how to select and get the current word as plain text. @@ -30,7 +30,7 @@ The following example code illustrates how to select and get the current word as ## Select and get the paragraph in current cursor position -You can use [`selectParagraph`] API in selection module to select the current paragraph at cursor position and use [`text`] API or [`sfdt`] API to get the selected content as plain text or SFDT from Document Editor component. +You can use the [`selectParagraph`] API in the selection module to select the current paragraph at the cursor position and use the [`text`] API or the [`sfdt`] API to get the selected content as plain text or SFDT from the Document Editor component. The following example code illustrates how to select and get the current paragraph as SFDT. diff --git a/Document-Processing/Word/Word-Processor/asp-net-core/how-to/get-the-selected-content.md b/Document-Processing/Word/Word-Processor/asp-net-core/how-to/get-the-selected-content.md index 60bb4374ea..8d0f1f62ae 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-core/how-to/get-the-selected-content.md +++ b/Document-Processing/Word/Word-Processor/asp-net-core/how-to/get-the-selected-content.md @@ -1,20 +1,20 @@ --- layout: post -title: Get Selected Content in Document Editor Component | Syncfusion -description: Learn here all about get the selected content in Syncfusion Document Editor component of Syncfusion Essential JS 2 and more. +title: Get Selected Content in Syncfusion DOCX Editor Component | Syncfusion +description: Learn here all about getting the selected content in the Syncfusion DOCX Editor component of Essential JS 2 and more. platform: document-processing control: Get The Selected Content documentation: ug --- -# How to get the selected content in Document Editor component +# How to get the selected content in DOCX Editor component -You can get the selected content from the [ASP.NET Core DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor) (Document Editor) component as plain text and SFDT (rich text). +You can get the selected content from the [ASP.NET Core DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor) component as plain text and SFDT (rich text). ## Get the selected content as plain text -You can use `text` API to get the selected content as plain text from React Document Editor component. +You can use the `text` API to get the selected content as plain text from the ASP.NET Core DOCX Editor component. {% tabs %} @@ -26,15 +26,15 @@ You can use `text` API to get the selected content as plain text from React Docu {% endtabs %} -You can add the following custom options using this API, +You can add the following custom options using this API: -* Save or export the selected text as text file. +* Save or export the selected text as a text file. * Search the selected text in Google or other search engines. -* Show synonyms for the selected word in context menu and replace with selected synonym using the setter method of same API. +* Show synonyms for the selected word in the context menu and replace with the selected synonym using the setter method of the same API. ## Get the selected content as SFDT (rich text) -You can use `sfdt` API to get the selected content as rich text from React Document Editor component. +You can use the `sfdt` API to get the selected content as rich text from the ASP.NET Core DOCX Editor component. {% tabs %} @@ -46,8 +46,8 @@ You can use `sfdt` API to get the selected content as rich text from React Docum {% endtabs %} -You can add the following custom options using this API, +You can add the following custom options using this API: -* Save or export the selected content as SFDT file. -* Get the content of a bookmark in Word document as SFDT by selecting a bookmark using `select bookmark` API. -* Create template content that can be inserted to multiple documents in cursor position using `paste` API. \ No newline at end of file +* Save or export the selected content as an SFDT file. +* Get the content of a bookmark in a Word document as SFDT by selecting a bookmark using the `select bookmark` API. +* Create template content that can be inserted into multiple documents at the cursor position using the `paste` API. \ No newline at end of file