In Photoshop, flattening typically refers to merging all visible layers into a single layer, and it's not
directly related to saving as a PDF. However, if you want to save your Photoshop file as a PDF
with flattened layers, you can follow these steps:
...