API Documentation > CorelDRAW > 2025-v26 > Bitmap > IVGBitmap
Bitmap.Trace method
Converts the bitmap into vector objects
Syntax:
Function Trace(ByVal TraceType As cdrTraceType, Optional ByVal Smoothing As Integer = -1, Optional ByVal DetailLevelPercent As Integer = 0, Optional ByVal ColorMode As cdrColorType = cdrColorMixed, Optional ByVal PaletteID As cdrPaletteID = cdrCustom, Optional ByVal ColorCount As Long = 0, Optional ByVal DeleteOriginalObject As Boolean = False, Optional ByVal RemoveBackground As Boolean = True, Optional ByVal RemoveEntireBackColor As Boolean = False) As TraceSettings
Parameters:
Name Type Description
TraceType
Smoothing
Integer
Specifies the degree of smoothing.
DetailLevelPercent
Integer
Specifies the level of detail.
ColorMode
Specifies the color mode.
PaletteID
Specifies the ID of the palette.
ColorCount
Long
Specifies the color count.
DeleteOriginalObject
Boolean
Specifies whether to delete the original object.
RemoveBackground
Boolean
Specifies whether to remove the background.
RemoveEntireBackColor
Boolean
Specifies whether to remove the entire background color.
Remarks:
The Trace method converts a bitmap into vector objects.