This article explains how to use the C++ API to set custom paper size of your desired worksheets when rendering Excel file to PDF file format programmatically....// For complete examples and data files, please go to https://github...U16String outputDir ( u ".. \\ Data \\ 02_OutputDirectory \\ " );...