Previous Document Next Document

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


Transparency.Type

Property Type As cdrTransparencyType

Description

Member of Transparency

The Type property returns or specifies the type of a transparency.

The Type property returns a read-only value of cdrTransparencyType.

VBA example

The following VBA example removes all fountain transparencies.

Sub Test()
 Dim s As Shape
 For Each s In ActivePage.Shapes
  If s.Transparency.Type <> cdrFountainTransparency Then
   s.Transparency.ApplyNoTransparency
  End If
 Next s
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.