API Documentation > CorelDRAW > 2025-v26 > HatchFill > IVGHatchFill
HatchFill.Select method
Selects a new hatch fill from the specified library
Syntax:
Sub Select(ByVal LibraryName As String, ByVal HatchNameOrIndex As Variant, Optional ByVal BackColor As Color = Nothing, Optional ByVal TransformWithShape As Boolean = False, Optional ByVal ScaleLinesWithShape As Boolean = False, Optional ByVal UseWorldCoordinates As Boolean = False, Optional ByVal FillScale As Double = 0, Optional ByVal LineScale As Double = 0, Optional ByVal FillAngle As Double = 0, Optional ByVal FillSkew As Double = 0)
Parameters:
Name Type Description
LibraryName
String
HatchNameOrIndex
Variant
BackColor
Specifies a background color for the hatch fill.
TransformWithShape
Boolean
Specifies whether to transform the hatch fill with the shape to which the hatch fill is applied.
ScaleLinesWithShape
Boolean
Specifies whether to scale the hatch-fill lines with the shape to which the hatch fill is applied.
UseWorldCoordinates
Boolean
Specifies whether local or world coordinates are used to align the hatch fills applied to different objects.
FillScale
Double
Specifies the average scale factor for the hatch fill.
LineScale
Double
Specifies the average line-thickness scale factor for the hatch fill.
FillAngle
Double
Specifies the rotation angle for the hatch fill.
FillSkew
Double
Specifies the skew angle for the hatch fill.
Remarks:
The Select method selects a new hatch fill from the specified library.