SpvGetPageShadowWidth, SpvSetPageShadowWidth Functions
Applies To
fpSpreadPreview DLL control
Description
Set or return the width of the shadow behind the displayed pages.
Syntax
int SpvGetPageShadowWidth(HWND hWnd, short FAR *lpValue);
int SpvSetPageShadowWidth(HWND hWnd, short value);
short TPreview::GetPageShadowWidth(void);
int TPreview::SetPageShadowWidth(short value);
Parameters
The SpvGetPageShadowWidth function has the following parameters:
Parameter | Description |
hWnd | Window handle of the fpSpreadPreview control |
lpValue | Pointer to variable that receives the width of the shadow |
The SpvSetPageShadowWidth function has the following parameters:
Parameter | Description |
hWnd | Window handle of the fpSpreadPreview control |
value | Width of the shadow behind the pages |
Remarks
The default shadow width is 2 pixels.
Call the SpvSetPageShadowColor and SpvSetPageShadowWidth functions to change the color and width of the shadow behind the displayed pages. Call the SpvSetPageBorderColor and SpvSetPageBorderWidth properties to change the color and width of the border around the displayed pages.
Return Value
SpvGetPageShadowWidth: For C users, 1 if the function completes successfully; 0 otherwise. For C++ users, the setting for the function.
SpvSetPageShadowWidth: 1 if the function completes successfully; 0 otherwise.
See Also
SpvSetPageBorderColor, SpvSetPageBorderWidth, SpvSetPageShadowColor properties
ActiveX Correspondence
PageShadowWidth property