SpvGetPageGutterV, SpvSetPageGutterV Functions
Applies To
fpSpreadPreview DLL control
Description
Set or return the vertical space between displayed pages
Syntax
int SpvGetPageGutterV(HWND hWnd, long FAR *lpValue);
int SpvSetPageGutterV(HWND hWnd, long value);
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