Previous Document Next Document

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


Transparency.MergeMode

Property MergeMode As cdrMergeMode

Description

Member of Transparency

The MergeMode property returns or specifies the merge mode for a transparency.

VBA example

The following VBA example creates a polygon and applies a merge mode to the transparency.

Sub Test()
 Dim s As Shape
 Set s = ActiveLayer.CreateRectangle(1, 1, 3, 3)
 s.Transparency.ApplyUniformTransparency (10)
 Set s = ActiveLayer.CreatePolygon(1, 4, 5, 6, 6)
 s.Transparency.ApplyTextureTransparency "Above the storm"
 For Each s In ActivePage.Shapes
  If s.Transparency.Type = cdrTextureTransparency Then
   s.Transparency.MergeMode = cdrMergeBlue
  End If
 Next s
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.