API Documentation > CorelDRAW > 2025-v26 > PatternFill > IVGPatternFill
PatternFill.MirrorFill property
Gets or sets Mirror Fill
Syntax:
Property Get MirrorFill() As Boolean
Property Let MirrorFill(ByVal Value As Boolean)
Remarks:
The MirrorFill property returns or specifies whether to mirror the pattern tiles in a pattern fill.
Examples:
The following VBA example applies a full-color bitmap pattern to a rectangle and flips the pattern tiles to create a seamless pattern fill.
Sub test()
Dim s As Shape
Set s = ActiveLayer.CreateRectangle(0, 0, 4, 4)
s.Style.Fill.LoadFill ("C:\Users\Public\Documents\Corel\Content X7\Fills\30 Vector Pattern 277.fill")
s.Fill.Pattern.MirrorFill = True
s.Fill.Pattern.OriginX = -0.2
s.Fill.Pattern.OriginY = -0.2 
End Sub