DLL
To print the portion of the sheet with data
- Call the SSSetSheet function to specify the sheet to print.
-
Using the SS_PRINTFORMAT structure, set the fUseDataMax field to TRUE.
Note: You can use the SSSetPrintOptions function to preset the SS_PRINTFORMAT structure. You should preset the SS_PRINTFORMAT structure if you plan on using the fpSpreadPreview control. - Call the SSPrint function.