PrintMarginRight Property
Applies To
fpSpread control
Description
Sets or returns the right margin when printing the sheet. This property is available at run time only.
Syntax
long CSpreadSheet::GetPrintMarginRight( );
void CSpreadSheet::SetPrintMarginRight(long value);
[form.]fpSpread.PrintMarginRight[ = value&]
Remarks
The default value for the PrintMarginRight property is 0. The units are specified in twips.
Set the PrintMarginRight 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 top, bottom, and left sides of the page using the PrintMarginTop, PrintMarginBottom, and PrintMarginLeft 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, PrintMarginTop properties
PrintSheet method
DLL Correspondence
SSPrint function