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