PdfViewer.ExportFormFieldData(Stream, PdfFormDataFormat) Method
In This Article
Exports field data to a stream in the specified format.
Namespace: DevExpress.Maui.Pdf
Assembly: DevExpress.Maui.Pdf.dll
NuGet Package: DevExpress.Maui.Pdf
#Declaration
C#
public void ExportFormFieldData(
Stream stream,
PdfFormDataFormat format
)
#Parameters
Name | Type | Description |
---|---|---|
stream | Stream | A stream that contains field data. |
format | Pdf |
Field data export format. |
#Remarks
The following example exports acrofield data to a stream:
readonly string formFieldDataPath = Path.Combine(FileSystem.CacheDirectory, "ArrivalCardFormData.fdf");
void OnFormFieldExportClick(object sender, EventArgs e) {
using FileStream stream = new FileStream(formFieldDataPath, FileMode.Create);
pdfViewer.ExportFormFieldData(stream, DevExpress.Pdf.PdfFormDataFormat.Fdf);
}
To import field data, call the ImportFormFieldData(Stream) method.
See Also