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 LoadDocument 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# |
コードのコピー
|
---|---|
c1Editor1.LoadDocument(@"C:\tesla.html");
|