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

Glossary Item Box

PrintCenterOnPageH Property


See Also    DLL    Example

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

C++

BOOL CSpreadSheet::GetPrintCenterOnPageH( );
void CSpreadSheet::SetPrintCenterOnPageH(BOOL value);

Visual Basic

[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

Print Properties

PrintCenterOnPageV property

PrintSheet method

DLL Correspondence

SS_PRINTFORMAT structure

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.