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

Glossary Item Box

PageViewType Property


See Also    DLL    Example

Applies To

fpSpreadPreview control

Description

Sets or returns how pages are displayed.

Syntax

C++

long CSpreadPreview::GetPageViewType( );
void CSpreadPreview::SetPageViewType(long value);

Visual Basic

[form.]fpSpreadPreview.PageViewType[ = setting%]

Remarks

The following settings are available:

Setting Description Constant
0 - Whole Page (Default) Displays the entire page within the viewable area PageViewTypeWholePage
1 - Normal Size Displays the page the size of the fpSpread control PageViewTypeNormalSize
2 - Percentage Displays the page at the percent size specified by the PageViewPercentage property PageViewTypePercentage
3 - Page Width Displays the page at the size where the entire width fits in the client area PageViewTypePageWidth
4 - Page Height Displays the page at the size where the entire height fits in the client area PageViewTypePageHeight
5 - Multiple
Pages
Displays multiple pages as specified by the PageMultiCntH and PageMultiCntV properties PageViewTypeMultiplePages

Note: If you are using virtual mode, the fpSpreadPreview control displays only the number of rows that are in the fpSpread control's virtual buffer. For more information about how to specify the size of the virtual buffer, see Customizing Virtual Mode.

Data Type

Integer (Enumerated)

See Also

Customizing the Page View
Scaling the Preview Page

PageMultiCntH, PageMultiCntV, PageViewPercentage properties

DLL Correspondence

SpvGetPageViewType, SpvSetPageViewType functions

Copyright © GrapeCity, inc. All rights reserved.