Copyright © GrapeCity inc. All rights reserved.
グリッドデータを文字区切りテキスト、Excel、HTML、PDF、または RTF ファイルとしてエクスポートできます。次の表は、各ファイルタイプのエクスポートに使用するメソッドの説明です。
Note:
TrueDBGrid's export and printing features uses the
C1.Win.Printing NuGet package, which provides three libraries: C1.PrintDocument, C1.Win.PrintPreview and C1.Win.RibbonPreview. Each library provides a set of previewing controls or components. The
PrintDocument library provides the PrintDocument and MultiDocument components, the
PrintPreview library provides the PreviewOutlineView, PreviewPane, PreviewTextSearchPanel, Thumbnail, PrintPreviewControl and PrintPreviewDialog components, and
RibbonPreview provides the RibbonPreview and RibbonPreviewDialog components. Since C1Report is now obsolete, make sure that the references for C1Report libraries is replaced by individual library references in the C1.Win.Printing nuget.
エクスポートメソッドのいずれかを設定するには、エクスポートボタンの Click イベントに適切なコードを追加します。
関連トピック