API Documentation > CorelDRAW > 2025-v26 > HatchFill > IVGHatchFill
HatchFill.AddToLibrary method
Adds the current hatch fill to the library
Syntax:
Sub AddToLibrary(ByVal LibraryName As String, Optional ByVal HatchName As String)
Parameters:
Name Type Description
LibraryName
String
HatchName
String
Remarks:
The AddToLibrary method adds the current hatch fill to a hatch-fill library.