CsQuery.CQ.CreateDocumentFromFile C# (CSharp) Method

CreateDocumentFromFile() public static method

Creates a new DOM from an HTML file.
public static CreateDocumentFromFile ( string htmlFile ) : CQ
htmlFile string /// The full path to the file ///
return CQ
        public static CQ CreateDocumentFromFile(string htmlFile)
        {
            using (Stream strm = Support2.GetFileStream(htmlFile))
            {
                return CQ.CreateDocument(strm);
            }
        }