Previous Document Next Document

Object Model Reference : Classes : F : FountainColors : Properties : FountainColors.Count


FountainColors.Count

Property Count As Long

Description

Member of FountainColors

The Count property returns the number of color points in the FountainColors collection.

 
The starting and ending color points are not included in the count of color points in the collection. Only the color points between the start and end points are included in the Count property.

The Count property returns a read-only value.

VBA example

The following VBA example displays the number of color points in the fountain fill of the selected object. The selected object must have fountain fill before executing this code.

Sub Test()
 MsgBox "Fountain fill contains " & ActiveShape.Fill.Fountain.Colors.Count & _
  " intermediate color points."
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.