Spread 8.0 Documentation
SpvGetPageGutterH, SpvSetPageGutterH Functions
Support Options
DLL Reference > DLL Functions > SpvGetPageGutterH, SpvSetPageGutterH Functions

Glossary Item Box

SpvGetPageGutterH, SpvSetPageGutterH Functions


See Also    ActiveX

Applies To

fpSpreadPreview DLL control

Description

Set or return the horizontal space between displayed pages.

Syntax

C

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

int SpvSetPageGutterH(HWND hWnd, long value);

C++

long TPreview::GetPageGutterH(void);

int TPreview::SetPageGutterH(long value);

Parameters

The SpvGetPageGutterH function has the following parameters:

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

The SpvSetPageGutterH function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpreadPreview control
value Horizontal 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 horizontal direction (specified by calling the SpvSetPageMultiCntH function). To return to the default setting, set the value parameter to –1.

Calling the SpvSetPageGutterH 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 SpvSetPageMultiCntH function and set the value parameter to a value greater than 1.

Call the SpvSetPageGutterV function to set the vertical 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

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

See Also

SpvGetPageGutterV, SpvSetGrayAreaMarginH, SpvSetGrayAreaMarginV, SpvSetPageGutterV, SpvSetPageMultiCntH, SpvSetPageViewType functions

ActiveX Correspondence

PageGutterH property

Copyright © GrapeCity, inc. All rights reserved.