Object Model Reference : Classes : T : TextureFillProperties : Properties : TextureFillProperties.Count |
Property Count As Long
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.
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 |
Copyright 2013 Corel Corporation. All rights reserved.