public void LoadFormat()
{
//ExStart
//ExFor:Document.#ctor(String,LoadOptions)
//ExFor:LoadFormat
//ExSummary:Explicitly loads a document as HTML without automatic file format detection.
LoadOptions loadOptions = new LoadOptions();
loadOptions.LoadFormat = Aspose.Words.LoadFormat.Html;
Document doc = new Document(MyDir + "Document.LoadFormat.html", loadOptions);
//ExEnd
}