API Documentation > CorelDRAW > 2025-v26 > PrintSettings > IPrnVBAPrintSettings
PrintSettings.Trapping property
Specifies the in-RIP color trapping settings
Syntax:
Property Get Trapping() As PrintTrapping
Remarks:
The Trapping property returns a read-only PrintTrapping object, which represents the color-trapping settings of the print engine.
Examples:
The following VBA example displays the Print dialog box followed by a message box with the current trapping width.
Sub Test()
With ActiveDocument.PrintSettings
  .PostScript.Level = prnPSLevel3
  .Separations.Enabled = False
  .Trapping.Enabled = True
  .ShowDialog
  MsgBox "The current trapping width is " & Round((.Trapping.Width / 254000) * 72, 1) & " pt"
End With 
End Sub