Object Model Reference : Classes : T : TextureFill : Properties : TextureFill.Properties |
Property Properties As TextureFillProperties
Member of TextureFill
The Properties property returns a TextureFillProperties object, which lets you return and modify the parameters of a texture-fill pattern. Each texture-fill pattern has a range of properties, and some textures have more properties than others for example, the texture Heavenly Clouds has nine properties, while the Midday Clouds texture has six.
The Properties property returns a read-only value.
The following VBA example applies a texture fill and changes two of its parameters.
Sub Test() |
Dim s As Shape |
Dim tf As TextureFill |
Set s = ActiveLayer.CreateRectangle(0, 0, 4, 4) |
Set tf = s.Fill.ApplyTextureFill("Banded malachite", "Samples") |
tf.Properties("Softness %:").Value = 80 |
tf.Properties("1st mineral:").Value = CreateRGBColor(255, 0, 0) |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.