Example
The following example sets the print page margins to 1440 twips (1 inch).
C++
// Define the page margins as 1 inch
m_Spread.SetPrintMarginBottom(1440);
m_Spread.SetPrintMarginLeft(1440);
m_Spread.SetPrintMarginRight(1440);
m_Spread.SetPrintMarginTop(1440);
Visual Basic
' Define the page margins as 1 inch
fpSpread1.PrintMarginBottom = 1440
fpSpread1.PrintMarginLeft = 1440
fpSpread1.PrintMarginRight = 1440
fpSpread1.PrintMarginTop = 1440