I have created a sample Excel file to reproduce the issue.
test2.zip (9.6 KB)
In the Excel file, I added a conditional formatting to change A1 and B1 to white text color when A3’s value is 1.
image.png (768 位元組)
imag…...PdfSaveOptions : When saving the workbook to PDF, utilize the PdfSaveOptions...PdfSaveOptions : Workbook workbook = new Workbook("yourfile.xlsx");...