{description}
{excerpt}Sets the columns to use for the print titles. These are the columns that will be repeated on each page of a printed worksheet.

 _(This is not supported for charts.)_{excerpt}
{signature:C#}
 public void SetPrintTitleColumns(int firstColumn, int numColumns)
{signature}{signature:vb.net}
Public Sub SetPrintTitleColumns(ByVal firstColumn As Integer, ByVal numColumns As Integer)
{signature}
{parameters}
{param:firstColumn}The 0\-based number of the first column to in the print title.{param}
{param:numColumns}The number of columns to include in the print title.{param}
{example}{code:csharp|title=C#}
ps.SetPrintTitleColumns(0, 5);{code}
{code:vb.net|title=vb.net}
ps.SetPrintTitleColumns(0, 5){code}

{example}