Spread 8.0 Documentation
SpvGetPageShadowWidth, SpvSetPageShadowWidth Functions
Support Options
DLL Reference > DLL Functions > SpvGetPageShadowWidth, SpvSetPageShadowWidth Functions

Glossary Item Box

SpvGetPageShadowWidth, SpvSetPageShadowWidth Functions


See Also    ActiveX

Applies To

fpSpreadPreview DLL control

Description

Set or return the width of the shadow behind the displayed pages.

Syntax

C

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

int SpvSetPageShadowWidth(HWND hWnd, short value);

C++

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

Copyright © GrapeCity, inc. All rights reserved.