Spread 8.0 Documentation
SpvGetPagePercentageActual Function
Support Options
DLL Reference > DLL Functions > SpvGetPagePercentageActual Function

Glossary Item Box

SpvGetPagePercentageActual Function


See Also    ActiveX

Applies To

fpSpreadPreview DLL control

Description

Returns the size of the displayed pages as a percentage of the actual page size.

Syntax

C

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

C++

short TPreview::GetPagePercentageActual(void);

Parameters

The following parameters are available:

Parameter Description
hWnd Window handle of the fpSpreadPreview control
lpValue Pointer to variable that receives the actual size of the pages

Remarks

Call this function to return the size of the displayed pages as a percentage of their actual size.

The size of the displayed pages depends on the view of the pages as determined by the settings specified by the following functions:

SpvSetPageBorderWidth SpvSetPageGutterH SpvSetPageGutterV
SpvSetPageMultiCntH SpvSetPageMultiCntV SpvSetPageShadowWidth
SpvSetPageViewPercentage SpvSetPageViewType SpvSetZoomState

Return Value

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

See Also

SpvSetPageBorderWidth, SpvSetPageGutterH, SpvSetPageGutterV, SpvSetPageMultiCntH, SpvSetPageMultiCntV, SpvSetPageShadowWidth, SpvSetPageViewPercentage, SpvSetPageViewType, SpvSetZoomState functions

ActiveX Correspondence

PagePercentageActual property

Copyright © GrapeCity, inc. All rights reserved.