Spread 8.0 Documentation
DLL
Support Options

Glossary Item Box

DLL


To specify a block of cells 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 x1CellRange, y1CellRange, x2CellRange, and y2CellRange fields to specify the block of cells you want to print.
    3. Set the dPrintType parameter to SS_PRINTTYPE_CELLRANGE.

      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.