ApiExamples.ExDocument.LoadFormat C# (CSharp) Метод

LoadFormat() приватный Метод

private LoadFormat ( ) : void
Результат void
        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
        }
ExDocument