Retriving Font Size from a TextNode object
- From: Talsharf@xxxxxxxxx
- Date: 21 Apr 2006 09:04:22 -0700
Hi
I am trying to run trough an HTML DOM and to retrive the font size of
the TextNode objects. The TextNode objects implement the
IHTMLDOMTextNode interface, but the IHTMLDOMTextNode interface has no
method for retriving font size.
So, I try to query it's parent element, usually a regular HTML element
with an IHTMLElement interface. The IHTMLElement, do has the 'Style'
property that returns the IHTMLStyle interface. However, when I am
trying to retrive the fontSize property from that interface, I get a
null insted of an object to work with.
And the funny thing is that I can set the font size to what ever I want
with the fontSize property, I just can't read the current one.
Does anybody has any suggestions?
Thanks in advance,
Tal
.
- Follow-Ups:
- Re: Retriving Font Size from a TextNode object
- From: Igor Tandetnik
- Re: Retriving Font Size from a TextNode object
- Prev by Date: Intercepting data
- Next by Date: Re: WebBrowser DocumentComplete Event
- Previous by thread: Intercepting data
- Next by thread: Re: Retriving Font Size from a TextNode object
- Index(es):
Relevant Pages
|
|