Property TParagraph.template_rows[index] : TParagraph
Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph
Description
Retrieve the start paragraph of each row in the template of this table in the range [0..RowCount-1]. Alternatively: Index -1 will select the first header row, -2 will select the first footer row. RowGroup paragraphs will NOT be counted!
var grid : TParagraph;
begin
grid:=WPRichText1.AddDynamicGrid(WPDataSetAdapter1, 'MASTERTABLE', nil, WPCentimeterToTwips(0.6));
grid.template_rows[-1].cols[0].SetTextObject( '', 'Vertical Text', [wpTextRotate270]);
end;