Free Support Forum -

Why are formats read-only?


I try to create a table based on an existing table used as a template. For example I want to be the cell 1,1 in the new table to be formated just as the cell 1,1 in the template table. It would be great, if I colud simply write something like:

CellFormat cf = tTemplate.Rows[1].Cells[1].CellFormat;

tNew.Rows[1].Cells[1].CellFormat = cf;

Is something like this possible, or do I really have to set all the attribute of the CellFomat? The some would be usefull on the ParagraphFormat.



Thanks for suggestion. I agree that it is sometimes inconvenient not to be able just set the Format properties or Font property as a whole entity without iterating through all of its inner properties. We will discuss your suggestion and inform you of the results here in this thread.