Previous Document Next Document

Object Model Reference : Classes : F : FountainFill : Properties : FountainFill.MidPoint


FountainFill.MidPoint

Property MidPoint As Long

Description

Member of FountainFill

The MidPoint property returns or specifies the position of the midpoint of a simple fountain fill having no more than two colors.

VBA example

The following VBA example sets the midpoint of all two-color fountain fills on the active page to 80%.

Sub Test()
 Dim s As Shape
 For Each s In ActivePage.Shapes
  If s.Fill.Type = cdrFountainFill Then
   If s.Fill.Fountain.BlendType <> cdrCustomFountainFillBlend Then
    s.Fill.Fountain.MidPoint = 80
   End If
  End If
 Next s
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.