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

Glossary Item Box

PrintMarginRight Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the right margin when printing the sheet. This property is available at run time only.

Syntax

C++

long CSpreadSheet::GetPrintMarginRight( );
void CSpreadSheet::SetPrintMarginRight(long value);

Visual Basic

[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

Print Properties

PrintMarginBottom, PrintMarginLeft, PrintMarginTop properties

PrintSheet method

DLL Correspondence

SSPrint function

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