DataSourceExtractionDialog Class
- Namespace
TXTextControl.DocumentServer. Windows. Forms
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXDocumentServer.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXDocumentServer.from the setup.Windows. Forms. dll
- Inherits
- Form
- HighDpiForm
- Data
Source Extraction Dialog
Description
The DataSourceExtractionDialog class allows the user to save an excerpt from the currently loaded data source. An upper limit of extracted data rows can be specified in the dialog. It works only with data provider based data sources and throws an exception when called with any other loaded data source type. The DataSourceExtractionDialog is a modal dialog box which must be shown with the DataSourceExtractionDialog.ShowDialog method.
Syntax
public class DataSourceExtractionDialog : HighDpiFormPublic Class DataSourceExtractionDialog
Inherits HighDpiFormExamples
The following example creates a Data Source Extraction Dialog instance and configures its allow transparency setting for a document workflow.
using TXTextControl.DocumentServer.Windows.Forms.DataSourceExtractionDialog dataSourceExtractionDialog = new(new TXTextControl.DocumentServer.DataSources.DataSourceManager());
dataSourceExtractionDialog.AllowTransparency = true;Dim dataSourceExtractionDialog As New TXTextControl.DocumentServer.Windows.Forms.DataSourceExtractionDialog(New TXTextControl.DocumentServer.DataSources.DataSourceManager())
dataSourceExtractionDialog.AllowTransparency = TrueMembers
Constructors
| Constructor | Description |
|---|---|
| DataSourceExtractionDialog | Creates a DataSourceExtractionDialog object for the specified DocumentServer.DataSources.DataSourceManager. |
Properties
| Property | Description |
|---|---|
| FileName | Returns the file name of the file into which the data source excerpt has been saved. |
| MaxRows | Returns the maximum number of data rows from the selected table which were saved into the excerpt file. |
| SelectedTable | Returns a description of the table which was selected by the user to be exported. |
Methods
| Method | Description |
|---|---|
| Show | Not described in the reference. public void Show(IWin32Window owner); |
| ShowDialog | Not described in the reference. public System.Windows.Forms.DialogResult ShowDialog(); |