This article demonstrates how to programmatically set the Print Options of the Excel Worksheet Page Setup feature using the C++ API and Library. You can set the Print Area, Print Titles, and Page Order....PrintErrorsType that contain pre‑defined values to be assigned to those properties...respectively. The pre‑defined values in the PrintCommentsType enumeration...