Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HtmlDocument Properties

The HtmlDocument type exposes the following members.

  Name Description
Public property ActiveElement Provides the HtmlElement which currently has user input focus.
Public property ActiveLinkColor Gets or sets the Color of a hyperlink when clicked by a user.
Public property All Gets an instance of HtmlElementCollection, which stores all HtmlElement objects for the document.
Public property BackColor Gets or sets the background color of the HTML document.
Public property Body Gets the HtmlElement for the BODY tag.
Public property Cookie Gets or sets the HTTP cookies associated with this document.
Public property DefaultEncoding Gets the encoding used by default for the current document.
Public property Domain Gets or sets the string describing the domain of this document for security purposes.
Public property DomDocument Gets the unmanaged interface pointer for this HtmlDocument.
Public property Encoding Gets or sets the character encoding for this document.
Public property Focused Gets a value indicating whether the document has user input focus.
Public property ForeColor Gets or sets the text color for the document.
Public property Forms Gets a collection of all of the <FORM> elements in the document.
Public property Images Gets a collection of all image tags in the document.
Public property LinkColor Gets or sets the color of hyperlinks.
Public property Links Gets a list of all the hyperlinks within this HTML document.
Public property RightToLeft Gets or sets the direction of text in the current document.
Public property Title Gets or sets the text value of the <TITLE> tag in the current HTML document.
Public property Url Gets the URL describing the location of this document.
Public property VisitedLinkColor Gets or sets the Color of links to HTML pages that the user has already visited.
Public property Window Gets the HtmlWindow associated with this document.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.