Previous Document Next Document

Object Model Reference : Classes : T : TextureFillProperties : Properties : TextureFillProperties.Count


TextureFillProperties.Count

Property Count As Long

Description

Member of TextureFillProperties

The Count property returns the number of parameters that are available to a particular type of texture fill.

The Count property returns a read-only value.

VBA example

The following VBA example applies a texture fill to a rectangle and displays the number of parameters available to the fill.

Sub Test()
 Dim s As Shape
 Dim tf As TextureFill
 Set s = ActiveLayer.CreateRectangle(0, 0, 2, 2)
 Set tf = s.Fill.ApplyTextureFill("Vapor 2C")
 MsgBox "Texture '" & tf.TextureName & "' has " & _
  tf.Properties.Count & " parameters"
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.