Html Document properties

Hello
When loading an html file to Words Document, the title tag / description tag will be loaded to which Document fileds, I mean how to get em? thanks

@australian.dev.nerds <title> tag is imported as document title and description is imported as document subject. For example after loading the following HTML:

<html>
<head>
    <title>This is document title</title>
    <meta name="description" content="This is description">
</head>
<body>
    <h1>This is a heading</h1>
    <p>This is a paragraph.</p>
</body>
</html>

You can get title using BuiltInDocumentProperties.Title property and document subject using BuiltInDocumentProperties.Subject

Document doc = new Document(@"C:\Temp\in.html");
Console.WriteLine(doc.BuiltInDocumentProperties.Title);
Console.WriteLine(doc.BuiltInDocumentProperties.Subject);