API Documentation > CorelDRAW > 2025-v26 > Transparency > IVGTransparency
Transparency.Type property
Gets the transparency type
Syntax:
Property Get Type() As cdrTransparencyType
Remarks:
The Type property returns or specifies the type of a transparency. The Type property returns a read-only value of cdrTransparencyType.
Examples:
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