API Documentation > CorelDRAW > 2025-v26 > PDFVBASettings > IPDFVBASettings
PDFVBASettings.Halftones property
Specifies whether document halftone screens need to be preserved
Syntax:
Property Get Halftones() As Boolean
Property Let Halftones(ByVal Value As Boolean)
Remarks:
The Halftones property determines whether halftone-screen information is preserved when publishing to PDF.
Examples:
The following VBA example specifies options for publishing the active document to PDF. Complex fills are rendered as bitmaps; halftone screens and overprints are included, while Open Prepress Interface (OPI) links and spot colors are not maintained.
Sub Test()
With ActiveDocument.PDFSettings
  .ComplexFillsAsBitmaps = True
  .Halftones = True
  .MaintainOPILinks = False
  .Overprints = True
  .SpotColors = False
End With
ActiveDocument.PublishToPDF "C:\MyDocument.pdf" 
End Sub