Example
The following example specifies that the sheet border, row and column headers, and grid lines are not printed.
C++
// Do not print the border, headers, or grid lines
m_Spread.SetPrintBorder(FALSE);
m_Spread.SetPrintColHeaders(FALSE);
m_Spread.SetPrintGrid(FALSE);
m_Spread.SetPrintRowHeaders(FALSE);
Visual Basic
' Do not print the border, headers, or grid lines
fpSpread1.PrintBorder = False
fpSpread1.PrintColHeaders = False
fpSpread1.PrintRowHeaders = False
fpSpread1.PrintGrid = False