To set the ExportToRTF method, add the following code to the Click event of the Export button:
· C#
this.c1TrueDBGrid1.ExportToRTF(@"c:\temp\composers.rtf");
· Delphi
Self.C1TrueDBGrid1.ExportToRTF('c:\temp\composers.rtf');
This topic illustrates the following:
Clicking the Export button creates a RTF file in the temp directory.
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |