API Documentation > CorelDRAW > 2025-v26 > Curve > IVGCurve
Curve.Contour method
Returns a curve which is contour curve to the current one
Syntax:
Function Contour(ByVal Offset As Double, Optional ByVal Direction As cdrContourDirection = cdrContourOutside, Optional ByVal EndCapType As cdrContourEndCapType = cdrContourSquareCap, Optional ByVal CornerType As cdrContourCornerType = cdrContourCornerMiteredOffsetBevel, Optional ByVal MiterLimit As Double = 0) As Curve
Parameters:
Name Type Description
Offset
Double
Direction
Specifies the direction of the contour.
EndCapType
Specifies the end-cap type of the contour.
CornerType
Specifies the corner type of the contour.
MiterLimit
Double
Specifies the miter limit.
Remarks:
The Contour method returns a curve that is contoured to the current one.