> 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 trying to pass the constant itself. Just look up what wdRowHeightExactly contains (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

