When saving a drawing to PDF, my drawing view is set to "Shaded With Edges". The exported PDF result depends on the view quality setting:
High quality view → the PDF only shows the wireframe (edges), no shaded faces.
Draft quality view → the PDF is completely blank (nothing at all where the view should be).
On screen, the view displays correctly as shaded with edges. Only the PDF output loses the shading.
What I have already checked / tried:
PDF export options (Save As → Options → PDF):
"Export PDF in color" is checked
"High quality lines" is checked
"Shaded/Draft geometry DPI" increased to 300, even 600 — no difference
"High quality shaded edges" is checked
The referenced model is fully resolved (no lightweight components), and the drawing is rebuilt before export.
The drawing is a normal drawing, not a detached drawing.
Export method tried (same result with both): (I use c#)
IModelDoc2::SaveAs4 with swSaveAsOptions_Silent
IModelDocExtension::SaveAs with an IExportPdfData configured via SetSheets(swExportData_ExportSpecifiedSheets, ...)
Questions:
Why would a High quality shaded view lose its shading in PDF export while a Draft quality view goes completely blank?
Are there any other settings (system options, document properties, graphics driver / software OpenGL) that affect shaded output in PDF?

Try printing to pdf instead of saving as pdf.
It works for me.
You have "c#" in your title and two lines of code in your body.
Is there a macro involved in this issue?
If so, right of your title (right of "Answered"), there is a dropdown menu. On it, select Edit.
This will allow you to modify your original post, title and body.
At the title beginning, replace "c#" with "Macro" or "API" (I not sure if the SW API supports C# code although it is "close" to C++) as this will better get the attention of persons with API expertise.
In the body of your post, paste (at the end of the body), all of the macro code as plain text. This will permit a code review instead of having to guess.