Object Model Reference : Classes : F : Fill : Properties : Fill.Texture |
Property Texture As TextureFill
Member of Fill
The Texture property returns a TextureFill object that represents the settings for a texture fill.
The following VBA example creates a rectangle and applies a texture fill to it. The background color of the fill is then changed to red.
Sub Test() |
Dim s As Shape |
Set s = ActiveLayer.CreateRectangle(0, 0, 2, 2) |
s.Fill.ApplyTextureFill "Patches 2C" |
s.Fill.Texture.Properties("Background:").Value = CreateRGBColor(255, 0, 0) |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.