Back to Devexpress

PdfFormData(String, PdfFormDataFormat) Constructor

officefileapi-devexpress-dot-pdf-dot-pdfformdata-dot-ctor-x28-system-dot-string-devexpress-dot-pdf-dot-pdfformdataformat-x29.md

latest1.8 KB
Original Source

PdfFormData(String, PdfFormDataFormat) Constructor

SECURITY-RELATED CONSIDERATIONS

Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

Initializes a new instance of the PdfFormData class with the predefined file name and data format.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Pdf.v25.2.Core.dll

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public PdfFormData(
    string fileName,
    PdfFormDataFormat format
)
vb
Public Sub New(
    fileName As String,
    format As PdfFormDataFormat
)

Parameters

NameTypeDescription
fileNameString

A String containing the path to a file with the interactive form data (Fdf, Txt, Xfdf or Xml format).

| | format | PdfFormDataFormat |

A PdfFormDataFormat enumeration value specifying the format in which interactive form values are stored.

|

See Also

PdfFormData Class

PdfFormData Members

DevExpress.Pdf Namespace