Retriving Font Size from a TextNode object



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

.



Relevant Pages

  • Re: screen freeze after long time running
    ... interface also freeze or appear strange look. ... like display memory. ... If the static labels are rendered in the wrong font, ...
    (microsoft.public.vc.mfc)
  • Re: possible to change the font of the interface?
    ... But the interface font for Office 2007 is Segoe UI, not Calibri. ... But I don't know how to change it -- unless you want to try moving the Segoe ...
    (microsoft.public.office.misc)
  • Re: Interface Font in Office 2007
    ... you can't switch the UI font. ... Is there a setting somewhere which would allow me to change the interface ... The thing is that I don't like "ClearType", ...
    (microsoft.public.office.misc)
  • Re: getting out of LaTeX
    ... Ruud> In Word, the same can be achieved using styles. ... Word's interface has something to do with it. ... to change font size and typeface etc. and discouraging users to use ... Every LaTeX manual/tutorial/book teaches their readers to structure ...
    (sci.lang)
  • Re: openfont
    ... I know that in the api there is an openFont interface, ... Do you mean "OpenType", or is OpenFont a font type that I haven't heard of? ... There is an java.awt.font.OpenType interface, and a MultipleMaster interface, ...
    (comp.lang.java.programmer)