Spread 8.0 Documentation
PagesPerScreen Property
Support Options
ActiveX Reference > ActiveX Properties > PagesPerScreen Property

Glossary Item Box

PagesPerScreen Property


See Also    DLL

Applies To

fpSpreadPreview control

Description

Returns the number of pages the preview area can display at one time. This property is available at run time only.

Syntax

C++

short CSpreadPreview::GetPagesPerScreen( );

Visual Basic

[form.]fpSpreadPreview.PagesPerScreen

Remarks

If you want to display multiple pages in the preview area of the control, set the PageViewType property to 5 (Multiple Pages). Then specify the number of pages displayed in the horizontal and vertical directions using the PageMultiCntH and PageMultiCntV properties.

Use this property to return the maximum number of pages that can be displayed in the preview area. For example, assume the fpSpreadPreview control displays 3 horizontal pages and 2 vertical pages and your spreadsheet is 5 pages long. Five pages display in the preview area, but the PagesPerScreen property returns 6.

If the PageViewType property is set to a value other than 5 (Multiple Pages), the PagesPerScreen property returns 1.

Data Type

Integer

See Also

PageMultiCntH, PageMultiCntV, PageViewType properties

DLL Correspondence

SpvGetPagesPerScreen function

Copyright © GrapeCity, inc. All rights reserved.