Gets a value that indicates whether the PrintTitleRows is defined.
[Visual Basic] Property ReadOnly PrintTitleRowsDefined As Boolean [C#] bool PrintTitleRowsDefined { get; } [C++] __property bool get_PrintTitleRowsDefined(); [JScript] function get PrintTitleRowsDefined() : bool
True if PrintTitleRows is defined; otherwise, false.
This example clears the PrintTitleRows if it's defined.
[C#]
if (book.Worksheets[1].PageSetup.PrintTitleRowsDefined)
book.Worksheets[1].PageSetup.PrintTitleRows = "";
[Visual Basic]
If book.Worksheets(1).PageSetup.PrintTitleRowsDefined Then
book.Worksheets(1).PageSetup.PrintTitleRows = ""
End If
[C++]
if (book->Worksheets->Item[1]->PageSetup->PrintTitleRowsDefined)
book->Worksheets->Item[1]->PageSetup->PrintTitleRows = S"";
IPageSetup Interface | NativeExcel Namespace | PageSetup Property | PrintTitleRows Property