API Documentation > CorelDRAW > 2025-v26 > OnScreenCurve > IVGOnScreenCurve
OnScreenCurve.SetPen method
Set the pen attributes
Syntax:
Sub SetPen(ByVal Color As Long, ByVal WidthInPixels As Long, ByVal Style As cdrOnScreenCurvePenStyle)
Parameters:
Name Type Description
Color
Long
WidthInPixels
Long
Style