Previous Document Next Document

Object Model Reference : Classes : T : Transparency : Properties : Transparency.Texture


Transparency.Texture

Property Texture As TextureFill

Description

Member of Transparency

The Texture property returns a texture fill (or TextureFill object) representing the settings for a texture-fill transparency.

VBA example

The following VBA example creates a rectangle and applies a texture-fill transparency to it.

Sub Test()
 Dim s As Shape
 Set s = ActiveLayer.CreateRectangle(0, 0, 2, 2)
 s.Fill.UniformColor.RGBAssign 0, 0, 255
 s.Transparency.ApplyTextureTransparency "Water Color2 2C", ""
 s.Transparency.Texture.Properties("Background:").Value = CreateRGBColor(0, 0, 0)
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.