May 092010
Code:
Word.Style style=this.Paragraphs[1].get_Style() as Word.Style; Debug.Print(style.Font.Name + "; " + style.Font.Size.ToString());
Hot:
● Use Microsoft Office 2007 like a Pro!
● Excel Expert User-Your One Stop Solution In Mastering Microsoft Excel
● 101 Secrets of a Microsoft Excel Addict
● Excel VBA Made Easy
● Doc2Txt
● Create Your Own Programming Language
Author:laoyebin (Paladin.lao)
From:VSTO&Excel Space of Paladin.lao
Post :VSTO/Word: Get the name and size of current style font