Hide Table and Cells Borders
Posted: Sun Mar 06, 2011 8:08 am
I draw a table in a RVE, and want to hide the table and cells borders, then save to a rtf file. But the borders is still visible in rft file.
How can i hidden the borders in rtf file?
Thank you,
nong
The following is my code:
....
t := TRVTableItemInfo.CreateEx(10, 2, rveZZ.RVData);
t.Options :=[rvtoHideGridLines];
RichViewTableGridStyle := psClear;
t.BorderWidth := 0;
rveZZ.InsertItem('', t);
rs := TMemoryStream.Create;
rveZZ.Format;
rveZZ.SaveRTFToStream(rs,false);
rveZZ.SaveRTF('c:\abc.rtf',false);
rs.Free;
....
How can i hidden the borders in rtf file?
Thank you,
nong
The following is my code:
....
t := TRVTableItemInfo.CreateEx(10, 2, rveZZ.RVData);
t.Options :=[rvtoHideGridLines];
RichViewTableGridStyle := psClear;
t.BorderWidth := 0;
rveZZ.InsertItem('', t);
rs := TMemoryStream.Create;
rveZZ.Format;
rveZZ.SaveRTFToStream(rs,false);
rveZZ.SaveRTF('c:\abc.rtf',false);
rs.Free;
....