I am trying to use a COM object (Shotgraph) function which sets a parameter 
variable within the object. The question is: 
can CF5 determine the return value of the function variable.

Example:

<cfSet g=CreateObject("COM","shotgraph.image")>
<cfset x=g.gettextdimensions("This is string to measure",w,h)>

w and h return pixel width and height of the string (its font size already 
having been specified).

How can I read w,h? Setting the variable x is contrived only to reference the 
object and is not set in this function.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239110
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to