![]() |
![]() |
Fill.Texture
Property Texture As TextureFill
Member of Fill
The Texture property returns a TextureFill object that represents the properties of a texture fill.
The following code 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 2007 Corel Corporation. All rights reserved.