PrintMarginTop Property
Applies To
fpSpread control
Description
Sets or returns the top margin when printing the sheet. This property is available at run time only.
Syntax
long CSpreadSheet::GetPrintMarginTop( );
void CSpreadSheet::SetPrintMarginTop(long value);
[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
PrintMarginBottom, PrintMarginLeft, PrintMarginRight properties
PrintSheet method
DLL Correspondence
SSPrint function