PrintCenterOnPageH Property
Applies To
fpSpread control
Description
Sets or returns whether to horizontally center the sheet on the printed page. This property is available at run time only.
Syntax
BOOL CSpreadSheet::GetPrintCenterOnPageH( );
void CSpreadSheet::SetPrintCenterOnPageH(BOOL value);
[form.]fpSpread.PrintCenterOnPageH[ = boolean%]
Remarks
The default value for the PrintCenterOnPageH property is False.
Set the PrintCenterOnPageH 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.
Set the PrintCenterOnPageV property to center the sheet vertically on the printed page.
Spread Designer
Choose the Sheet menu, then the Print Properties menu, select the Print Properties tab, and then choose the Center Horizontal check box in the Print group box in the Print Properties dialog box.
Data Type
Integer (Boolean)
See Also
PrintCenterOnPageV property
PrintSheet method
DLL Correspondence
SS_PRINTFORMAT structure