R
Rafi
PowerPoint version now in use: XP SP2
Version the file was created in or opened in since, if any: any file
Windows version: XP
Other hardware involved (printer, etc):
Description of problem:
I am trying to record a macro that includes setting the "Fill Effects" of a
shape (like a rectangle).
I select an object, then "Format" / "Object", and then the tab "Color and
Lines".
Then I select "Color Fill Effects", and in the "Gradient" tab I select "Two
colors".
At this point, I can set the transparency of "From" and "To" (using the
dialog controls)
However, when I look at the recoded macro, there is only one command to set
the Transparency of the "From": that looks something like that:
ActiveWindow.Selection.ShapeRange.Fill.Transparency = 0.2
There is no command that is equivalent of setting the "To" transparency
number.
In addition, no where in the Document Object Model of PowerPoint could I
find any reference to a second Transparency attribute.
Is it an omission from the Object Model and the API?
Thanks,
Rafi Epstein
Version the file was created in or opened in since, if any: any file
Windows version: XP
Other hardware involved (printer, etc):
Description of problem:
I am trying to record a macro that includes setting the "Fill Effects" of a
shape (like a rectangle).
I select an object, then "Format" / "Object", and then the tab "Color and
Lines".
Then I select "Color Fill Effects", and in the "Gradient" tab I select "Two
colors".
At this point, I can set the transparency of "From" and "To" (using the
dialog controls)
However, when I look at the recoded macro, there is only one command to set
the Transparency of the "From": that looks something like that:
ActiveWindow.Selection.ShapeRange.Fill.Transparency = 0.2
There is no command that is equivalent of setting the "To" transparency
number.
In addition, no where in the Document Object Model of PowerPoint could I
find any reference to a second Transparency attribute.
Is it an omission from the Object Model and the API?
Thanks,
Rafi Epstein