Spread 8.0 Documentation
SpvGetPageShadowColor, SpvSetPageShadowColor Functions
Support Options
DLL Reference > DLL Functions > SpvGetPageShadowColor, SpvSetPageShadowColor Functions

Glossary Item Box

SpvGetPageShadowColor, SpvSetPageShadowColor Functions


See Also    ActiveX

Applies To

fpSpreadPreview DLL control

Description

Set or return the color of the shadow behind the displayed pages

Syntax

C

int SpvGetPageShadowColor(HWND hWnd, COLORREF FAR *lpValue);

int SpvSetPageShadowColor(HWND hWnd, COLORREF value);

C++

COLORREF TPreview::GetPageShadowColor(void);

int TPreview::SetPageShadowColor(COLORREF value);

Parameters

The SpvGetPageShadowColor function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpreadPreview control
lpValue Pointer to variable that receives the color of the shadow

The SpvSetPageShadowColor function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpreadPreview control
value Shadow color of the displayed pages
(Value can be SPREAD_COLOR_NONE, which specifies to use the default page shadow color.)

Remarks

The default shadow color is 0x00000000 (black).

Call the SpvSetPageShadowColor and SpvSetPageShadowWidth functions to change the color and width of the shadow behind the displayed pages. Call the SpvSetPageBorderColor and SpvSetPageBorderWidth functions to change the color and width of the border around the displayed pages.

Calling this function does not have an effect unless the SpvSetPageShadowWidth property is set to a value greater than zero.

Return Value

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

See Also

SpvSetPageBorderColor, SpvSetPageBorderWidth, SpvSetPageShadowWidth functions

ActiveX Correspondence

PageShadowColor property

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