Group:  Microsoft Word ยป microsoft.public.word.oleinterop
Thread: MS Word OLB enum Types

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

MS Word OLB enum Types
Phil 02.08.2006 15:59:04
I am creating a class to connect to Microsoft Word using ClassWizard and the
object library MSWORD.OLB.

Most of the function calls in this class use the Varient type to pass
parameters, but I cannot find the actual values for the enumeration types so
I can pass in that value. Does anyone know how or where these enumeration
types are defined.

For example, WdUnits is composed of wdCharacter, wdWord, wnSentence, etc.

Thanks for your help.

Phil



Re: MS Word OLB enum Types
Cindy M -WordMVP- <C.Meister-C[ at ]hispeed.ch> 02.08.2006 20:09:17
Hi =?Utf-8?B?UGhpbA==?=,

[Quoted Text]
> I am creating a class to connect to Microsoft Word using ClassWizard and the
> object library MSWORD.OLB.
>
> Most of the function calls in this class use the Varient type to pass
> parameters, but I cannot find the actual values for the enumeration types so
> I can pass in that value. Does anyone know how or where these enumeration
> types are defined.
>
> For example, WdUnits is composed of wdCharacter, wdWord, wnSentence, etc.
>
Open Word. Press ALT+F11. Press F2 - this opens the object browser. Display the
"search" toolbar (the binoculars), type in the enum (wdUnits), press Enter.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net