Displaying 1 result from an estimated 1 matches for "getfunc".
Did you mean:
get_func
2010 Aug 13
1
RDCOMClient interface - problems setting a variable
...pes()$AddShape(92, 200, 200, 100, 100) # add a shape object
shape1$Adjustments()$Item(1) # read adjustment parameter
How can I change this setting now? Taking a look at the functions available it shows that there are two item() functions - a getter and a setter, but have the same name.
names(getFuncs(shape1$Adjustments()))
str(getFuncs(shape1$Adjustments())[[12]]) # getter
str(getFuncs(shape1$Adjustments())[[13]]) # setter
In VBA it works like this, supposing the shape is selected:
ActiveWindow.Selection.ShapeRange.Adjustments.Item(1) = 2
Here getting and setting is done by appointing...