API Documentation > CorelDRAW > 2025-v26 > Transparency > IVGTransparency
Transparency.Texture property
Gets or sets the texture fill properties of the transparency
Syntax:
Property Get Texture() As TextureFill
Property Set Texture(ByVal Value As TextureFill)
Remarks:
The Texture property returns a texture fill (or TextureFill object) representing the settings for a texture-fill transparency.
Examples:
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