Previous Document Next Document

Object Model Reference : Classes : T : Transparency : Properties : Transparency.Uniform


Transparency.Uniform

Property Uniform As Long

Description

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.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.