API Documentation > CorelDRAW > 2025-v26 > TextureFill > IVGTextureFill
TextureFill.OriginY property
Gets or sets the vertical Origin
Syntax:
Property Get OriginY() As Double
Property Let OriginY(ByVal Value As Double)
Remarks:
The OriginY property returns or specifies the vertical offset of a texture-fill tile from the lower-left corner of its parent shape. The OriginY property is measured in document units.
Examples:
The following VBA example applies a texture fill to a rectangle and offsets the tile by 1" from the bottom of the page.
Sub Test()
Dim s As Shape
Dim tf As TextureFill
Set s = ActiveLayer.CreateRectangle(0, 0, 4, 4)
Set tf = s.Fill.ApplyTextureFill("Above the Storm", "Samples 9")
tf.OriginY = 1 
End Sub