Editor for WinForms Task-Based Help > Loading an XHTML Document from a File |
You can load an XHTML document into the C1Editor using the LoadXml method.
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
Imports C1.Win.C1Editor Imports System.IO |
To write code in C#
C# |
Copy Code
|
---|---|
using C1.Win.C1Editor; using System.IO; |
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
C1Editor1.LoadXml("C:\galaxy.htm") |
To write code in C#
C# |
Copy Code
|
---|---|
c1Editor1.LoadXml(@"C:\galaxy.htm"); |