API Documentation > CorelDRAW > 2025-v26 > TextureFill > IVGTextureFill
TextureFill.TileOffsetType property
Gets or sets the Tile offset Type
Syntax:
Property Get TileOffsetType() As cdrTileOffsetType
Property Let TileOffsetType(ByVal Value As cdrTileOffsetType)
Remarks:
The TileOffsetType property returns or specifies the offest type of the tile in a texture-fill pattern. A texture-fill pattern can be offset by row or by column. You can use the TextureFill.TileOffsetType property to specify the percentage of offset for adjacent rows or columns.
Examples:
The following VBA example applies a texture pattern to a rectangle and offsets each row of tiles by 20%, relative to each other.
Sub Test()
Dim s As Shape
Dim tf As TextureFill
Set s = ActiveLayer.CreateRectangle(0, 0, 4, 4)
Set tf = s.Fill.ApplyTextureFill("Water Color")
tf.TileHeight = 0.5
tf.TileWidth = 0.5
tf.TileOffsetType = cdrTileOffsetRow
tf.TileOffset = 20 
End Sub