Spread 8.0 Documentation
PrintPageEnd, PrintPageStart Properties
Support Options
ActiveX Reference > ActiveX Properties > PrintPageEnd, PrintPageStart Properties

Glossary Item Box

PrintPageEnd, PrintPageStart Properties


See Also    DLL    Example

Applies To

fpSpread control

Description

Set or return the first and last pages of the sheet to be printed. These properties are available at run time only.

Syntax

C++

short CSpreadSheet::GetPrintPageEnd( );
void CSpreadSheet::SetPrintPageEnd(short value);

Visual Basic

[form.]fpSpread.PrintPageEnd[ = value%]

Note: The PrintPageStart property uses similar syntax.

Remarks

The PrintPageStart and PrintPageEnd properties let you specify a range of pages to be printed. For these properties to have an effect, you must set the PrintType property to 3 (Page Range).

Set the PrintPageEnd and PrintPageStart properties before you use the PrintSheet method to print the sheet.

This property is set at the sheet level. Set the Sheet property before setting this property if there are multiple sheets.

Spread Designer

Choose the Sheet menu, then the Print Properties menu, select the Print Properties tab, and then choose the Pages option box from the Range group box in the Print Properties dialog box. Type page numbers in the edit boxes.

Data Type

Integer

See Also

Print Properties

PrintType property

PrintSheet method

DLL Correspondence

SSPrint function

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.