copyFormatTo

Syntax

Path.copyFormatTo(FormatData:list[, WithIndexes:boolean])

The method copyFormatTo copies the format of the source table designated by <Path> into the designated target table.

Parameter

  • The parameter FormatData of data type list designates the target table.

  • The optional parameter WithIndexes sets if the indexes are copied as well (true) or not (false) when you copy the format. With the default setting true row index and column index are also copied. When you specify false, the row index will not be copied. For the column index the setting Column index belongs to contents determines if the column index will be copied or not.

Example

print MySourceTable.copyFormatTo(MyTargetTable)

Related Topic

copyContentTo