API Documentation > CorelDRAW > 2025-v26 > PDFVBASettings > IPDFVBASettings
PDFVBASettings.ComplexFillsAsBitmaps property
Specifies whether complex fills should be rendered as bitmaps
Syntax:
Property Get ComplexFillsAsBitmaps() As Boolean
Property Let ComplexFillsAsBitmaps(ByVal Value As Boolean)
Remarks:
The ComplexFillsAsBitmaps property determines whether complex fills are rendered as bitmaps 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