API Documentation > CorelDRAW > 2025-v26 > PDFVBASettings > IPDFVBASettings
PDFVBASettings.EPSAs property
Specifies how embedded EPS files should be published to PDF
Syntax:
Property Get EPSAs() As pdfEPSAs
Property Let EPSAs(ByVal Value As pdfEPSAs)
Remarks:
The EPSAs property determines how embedded EPS files are published to PDF.
Examples:
The following VBA example publishes the document to PDF and specifies that only previews of EPS art are published.
Sub Test()
ActiveDocument.PDFSettings.EPSAs = pdfPreview
ActiveDocument.PublishToPDF "C:\MyDocument.pdf" 
End Sub