Spread 8.0 Documentation
SpvGetPageMultiCntV, SpvSetPageMultiCntV Functions
Support Options
DLL Reference > DLL Functions > SpvGetPageMultiCntV, SpvSetPageMultiCntV Functions

Glossary Item Box

SpvGetPageMultiCntV, SpvSetPageMultiCntV Functions


See Also    ActiveX

Applies To

fpSpreadPreview DLL control

Description

Set or return the number of pages displayed in the vertical direction.

Syntax

C

int SpvGetPageMultiCntV(HWND hWnd, short FAR *lpValue);

int SpvSetPageMultiCntV(HWND hWnd, short value);

C++

short TPreview::GetPageMultiCntV(void);

int TPreview::SetPageMultiCntV(short value);

Parameters

The SpvGetPageMultiCntV function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpreadPreview control
lpValue Pointer to variable that receives the number of pages displayed in the vertical direction

The SpvSetPageMultiCntV function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpreadPreview control
value Number of pages to display in the vertical direction

Remarks

By default, the control displays one page. The maximum number of vertical pages the control can display is ten.

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.

Calling this function does not have an effect unless you have called the SpvSetPageViewType function and set the value parameter to 5 (Multiple Pages).

You can specify the vertical spacing between displayed pages by calling the SpvSetPageGutterV function. Call the SpvSetPageMultiCntH function to specify the number of pages displayed in the horizontal direction. Call the SpvGetPagesPerScreen function to return the total number of pages displayed at one time.

Return Value

SpvGetPageMultiCntV: For C users, 1 if the function completes successfully; 0 otherwise. For C++ users, the setting for the function.
SpvSetPageMultiCntV: 1 if the function completes successfully; 0 otherwise.

See Also

SpvGetPageMultiCntH, SpvGetPagesPerScreen, SpvSetPageGutterV, SpvSetPageMultiCntH, SpvSetPageViewType functions

ActiveX Correspondence

PageMultiCntV property

Copyright © GrapeCity, inc. All rights reserved.