API Documentation > CorelDRAW > 2025-v26 > PrintOptions > IPrnVBAPrintOptions
PrintOptions.DownsampleColor property
Specifies whether color bitmaps should be downsampled
Syntax:
Property Get DownsampleColor() As Boolean
Property Let DownsampleColor(ByVal Value As Boolean)
Remarks:
The DownsampleColor property returns or specifies a Boolean (True or False) value that indicates the resolution of color bitmaps for printing.
Examples:
The following VBA example saves the current downsampling settings, changes the settings, and prints the document. The saved settings are then restored.
Sub Test()
Dim bDownSampleColor As Boolean
Dim bDownSampleGray As Boolean
Dim bDownSampleMono As Boolean
Dim DrawPrintOptions As PrintOptions
Set DrawPrintOptions = ActiveDocument.PrintSettings.Options
With DrawPrintOptions
  'save the current setting
  bDownSampleColor = .DownsampleColor
  bDownSampleGray = .DownsampleGray
  bDownSampleMono = .DownsampleMono
  'change the setting
  .DownsampleColor = True
  .DownsampleGray = True
  .DownsampleMono = False
End With
'print the document
ActiveDocument.PrintOut
'restore the downsample setting
With DrawPrintOptions
  .DownsampleColor = bDownSampleColor
  .DownsampleGray = bDownSampleGray
  .DownsampleMono = bDownSampleMono
End With 
End Sub