![]() |
![]() |
Fill.ApplyTextureFill
Function ApplyTextureFill(TextureName As String, [LibraryName As String]) As TextureFill
Member of Fill
The ApplyTextureFill method applies a texture fill to a shape.
The following code example applies the Blend Edges texture from the Styles library:
Sub Test() Dim s As Shape Set s = ActiveLayer.CreateRectangle(0, 0, 5, 5) s.Fill.ApplyTextureFill "Blend Edges" End Sub Sub Test() Dim s As Shape Set s = ActiveLayer.CreateRectangle(0, 0, 5, 5) s.Fill.ApplyTextureFill "Alien Eyes", "Samples 9" End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.