API Documentation > CorelDRAW > 2025-v26 > HatchPattern > IVGHatchPattern
HatchPattern.GetOrigin method
Gets both horizontal and vertical offset of the start of the first line in the pattern
Syntax:
Sub GetOrigin(ByRef OriginX As Double, ByRef OriginY As Double)
Parameters:
Name Type Description
OriginX
Double
OriginY
Double
Remarks:
The GetOrigin method returns the horizontal and vertical offsets of the start of the first line in a hatch-fill pattern.