API Documentation > CorelDRAW > 2025-v26 > FountainFill > IVGFountainFill
FountainFill.EndX property
Gets or sets a fountain fill's horizontal End (X)
Syntax:
Property Get EndX() As Double
Property Let EndX(ByVal Value As Double)
Remarks:
The EndX property returns or specifies the horizontal ending-coordinate of a fountain-fill vector. For radial, rectangular, and conical fills, the starting point is the center point of the fill. The EndX property is measured in document units.
Examples:
The following VBA example draws circles around the starting and ending points of the fountain-fill vector.
Sub Test()
With ActiveShape.Fill.Fountain
  ActiveLayer.CreateEllipse2 .StartX, .StartY, 0.2
  ActiveLayer.CreateEllipse2 .EndX, .EndY, 0.2
End With 
End Sub