Object Model Reference : Classes : T : Transparency : Properties : Transparency.Uniform |
Property Uniform As Long
Member of Transparency
The Uniform property returns or specifies a percentage value indicating the level of a uniform transparency. Higher values indicate a greater degree of transparency.
The following VBA example sets the transparency of all objects with a uniform transparency to 50%.
Sub Test() |
Dim s As Shape |
For Each s In ActivePage.Shapes |
If s.Transparency.Type = cdrUniformTransparency Then |
s.Transparency.Uniform = 50 |
End If |
Next s |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.