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

Glossary Item Box

PrintMarginTop Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the top margin when printing the sheet. This property is available at run time only.

Syntax

C++

long CSpreadSheet::GetPrintMarginTop( );
void CSpreadSheet::SetPrintMarginTop(long value);

Visual Basic

[form.]fpSpread.PrintMarginTop[ = value&]

Remarks

The default value for the PrintMarginTop property is 0. The units are specified in twips.

Set the PrintMarginTop property before you use the PrintSheet method to print the sheet.

This property is set at the sheet level. Set the Sheet property before setting this property if there are multiple sheets.

Specify the print margins for the bottom, left, and right sides of the page using the PrintMarginBottom, PrintMarginLeft, and PrintMarginRight properties.

Spread Designer

Choose the Sheet menu, then the Print Properties menu, select the Print Properties tab, and then type numbers in the appropriate edit box in the Margins group box in the Print Properties dialog box.

Data Type

Long Integer

See Also

Print Properties

PrintMarginBottom, PrintMarginLeft, PrintMarginRight properties

PrintSheet method

DLL Correspondence

SSPrint function

Copyright © GrapeCity, inc. All rights reserved.