Spread 8.0 Documentation
SpvGetPageGutterV, SpvSetPageGutterV Functions
Support Options
DLL Reference > DLL Functions > SpvGetPageGutterV, SpvSetPageGutterV Functions

Glossary Item Box

SpvGetPageGutterV, SpvSetPageGutterV Functions


See Also    ActiveX

Applies To

fpSpreadPreview DLL control

Description

Set or return the vertical space between displayed pages

Syntax

C

int SpvGetPageGutterV(HWND hWnd, long FAR *lpValue);

int SpvSetPageGutterV(HWND hWnd, long value);

C++

long TPreview::GetPageGutterV(void);

int TPreview::SetPageGutterV(long value);

Parameters

The SpvGetPageGutterV function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpreadPreview control
lpValue Pointer to variable that receives the vertical space between pages

The SpvSetPageGutterV function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpreadPreview control
value Vertical space between pages

Remarks

By default, the fpSpreadPreview control chooses a value based on the size of the control and the number of pages displayed in the vertical direction (specified by calling the SpvSetPageMultiCntV function). To return to the default setting, set the value parameter to –1.

Calling the SpvSetPageGutterV function does not have an effect unless you have called the SpvSetPageViewType function and set the value parameter to 5 (Multiple Pages), and called the SpvSetPageMultiCntV function and set the value parameter to a value greater than 1.

Call the SpvSetPageGutterH function to set the horizontal space between displayed pages. Call the SpvSetGrayAreaMarginH and SpvSetGrayAreaMarginV functions to set the horizontal and vertical spacing between the displayed pages and the edge of the control.

Return Value

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

See Also

SpvGetPageGutterH, SpvSetGrayAreaMarginH, SpvSetGrayAreaMarginV, SpvSetPageGutterH, SpvSetPageMultiCntH, SpvSetPageViewType functions

ActiveX Correspondence

PageGutterV property

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