Class RichTextEditorImportWord
A class used for configuring the import word document in the SfRichTextEditor.
Inheritance
System.Object
RichTextEditorImportWord
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class RichTextEditorImportWord : OwningComponentBase
Constructors
RichTextEditorImportWord()
Declaration
public RichTextEditorImportWord()
Properties
ServiceUrl
Gets or sets the service URL for uploading a document to the server, which will then be imported into the Rich Text Editor.
Declaration
public string ServiceUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | The service URL for uploading a document to the server. The default value is |
Remarks
The ServiceUrl
should point to a server endpoint capable of handling word document uploads for import into the Rich Text Editor.
Examples
This example demonstrates how to configure the ServiceUrl
:
<SfRichTextEditor>
<RichTextEditorImportWord ServiceUrl="@importWordServiceUrl" />
</SfRichTextEditor>
@code {
private string importWordServiceUrl = "Enter the service URL here";
}
Methods
Dispose(Boolean)
Dispose unmanaged resources in the Syncfusion Blazor component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Boolean value to dispose the object. |
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |