This quick start guides you through the steps of creating a simple Editor application. You begin by creating a Windows Forms App in Visual Studio, adding the Editor control to the Form and loading a document in it.
Follow the given steps to create a simple Editor application in .NET Edition.
To load an HTML document in the Editor control use LoadDocumentAsync method of the C1Editor class. In this example, an html document named tesla is loaded in Editor from the C drive. You can change the file path of the document based on the location of the document that you want to load from your system in the Editor control.
C# |
Copy Code |
---|---|
c1Editor1.LoadDocumentAsync(@"C:\tesla.html"); |