Thanks Dave, I was able to figure out by trial and error what integer to use in order to get the setting I needed. It would be helpful if somebod y knows where these constants and their values are documented.
Thank You All Ian Skinner www.ilsweb.com ----- Original Message ----- From: "Dave Watts" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, February 27, 2002 7:31 PM Subject: RE: Passing a constant to a COM object method from Cold Fusi on > > I am working out how to use the word com object by trial > > and error, and I have not been able to figure out how to > > pass a constant to a method from cold fusion. > > > > One example of where I have run across this: > > objRows.SetHeight(72, wdRowHeightExactly); > > > > I am trying to use the SetHeight Method to set the height > > of the rows I have created in a table to have a height of > > exactly 72 points with the wdRowHeightExactly constant. I > > am creating a labels document and the cells of the table > > need to match the dimensions of the labels being used. > > The short answer is, you can't. The longer (and more useful) answer is to > simply pass the value that the constant represents, instead of tryi ng to > pass the constant itself. Just look up what wdRowHeightExactly cont ains > (it's probably an integer) and pass that instead. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > voice: (202) 797-5496 > fax: (202) 797-5444 > ___________________________________________________________________ ___ > Why Share? > Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER > Instant Activation � $99/Month � Free Setup > http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc > FAQ: http://www.thenetprofits.co.uk/coldfusion/faq > Archives: http://www.mail-archive.com/[email protected]/ > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

