Spread 8.0 Documentation
DLL
Support Options

Glossary Item Box

DLL


To specify a range of pages as a print range

  1. Call the SSSetSheet function to specify the sheet to print.
  2. Using the SS_PRINTFORMAT structure,
    1. Set the fUseDataMax field to FALSE.
    2. Set the nPageStart and nPageEnd fields to specify the range of pages you want to print.
    3. Set the dPrintType parameter to SS_PRINTTYPE_PAGERANGE.

      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.

  3. Call the SSPrint function.
Copyright © GrapeCity, inc. All rights reserved.