NativeExcel for .Net Developer's Reference

IPageSetup.PrintTitleColumnsDefined Property

Gets a value that indicates whether the PrintTitleColumns is defined.

[Visual Basic]
PropertyReadOnlyPrintTitleColumnsDefinedAsBoolean
[C#]
boolPrintTitleColumnsDefined{get;}
[C++]
__propertyboolget_PrintTitleColumnsDefined();
[JScript]
functiongetPrintTitleColumnsDefined():bool

Property Value

True if PrintTitleColumns is defined; otherwise, false.

Example

This example clears the PrintTitleColumns if it's defined.

[C#]
if (book.Worksheets[1].PageSetup.PrintTitleColumnsDefined)   
    book.Worksheets[1].PageSetup.PrintTitleColumns = "";
[VisualBasic]
If book.Worksheets(1).PageSetup.PrintTitleColumnsDefined Then
   book.Worksheets(1).PageSetup.PrintTitleColumns = ""
End If
[C++]
if (book->Worksheets->Item[1]->PageSetup->PrintTitleColumnsDefined) 
    book->Worksheets->Item[1]->PageSetup->PrintTitleColumns = S"";

See Also

IPageSetup Interface | NativeExcel Namespace | PageSetup Property | PrintTitleColumns Property