CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: get word-fonts without using the api

  1. #1
    Join Date
    Aug 2002
    Erkner near Berlin

    get word-fonts without using the api

    i need to get out the font-names used in a ms word-file without using the api or opening word at all
    i want to put it into a listbox, but i do not know, how to get them out
    could anybody help me, please?

  2. #2
    Join Date
    Dec 2001
    Well, I've done this for RTF, but as for word, that is a different matter. I suggest opening up the document into a string variable, and check out the contents. Look for some pattern of characters that always comes before a font name, but no place else. Then you should be able to get the names.
    Please remember to rate the posts and threads that you find useful.
    How can something be both new and improved at the same time?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)