Spread 8.0 Documentation
GrayAreaMarginV Property
Support Options
ActiveX Reference > ActiveX Properties > GrayAreaMarginV Property

Glossary Item Box

GrayAreaMarginV Property


See Also    DLL    Example

Applies To

fpSpreadPreview control

Description

Sets or returns the vertical space between the displayed page and the edge of the control.

Syntax

C++

long CSpreadPreview::GetGrayAreaMarginV( );
void CSpreadPreview::SetGrayAreaMarginV(long value);

Visual Basic

[form.]fpSpreadPreview.GrayAreaMarginV[ = value%]

Remarks

The default value of the GrayAreaMarginV property is 720 twips.

Use the GrayAreaMarginH property to set the horizontal space between the page and the edge of the control. Use the PageGutterH and PageGutterV properties to set the horizontal and vertical spaces between multiple pages.

The settings of the GrayAreaMarginH and GrayAreaMarginV properties are interpreted by the control according to the setting of the GrayAreaMarginType property. By default, the settings for the margins are scaled to keep the page view readable within the preview area. However, you can change the setting of the GrayAreaMarginType property to 1 (Actual) to have the control use the exact settings of the GrayAreaMarginH and GrayAreaMarginV properties regardless if the page is zoomed in or out.

Data Type

Integer

See Also

Customizing the Gray Area

GrayAreaColor, GrayAreaMarginH, GrayAreaMarginType, PageGutterH, PageGutterV properties

DLL Correspondence

SpvGetGrayAreaMarginV, SpvSetGrayAreaMarginV functions

Copyright © GrapeCity, inc. All rights reserved.