
_Önceden açılmış PDF-belgesinden AcroForm ile XFDF-belgesine dosya adıyla dışa aktarır._

```rust
pub fn export_xfdf(&self, filename: &str) -> Result<(), PdfError>
```

**Arguments**
  * **filename** - the path to the output file

**Returns**
  * **Ok(())** - if the operation succeeds
  * **Err(PdfError)** - if the operation fails

**Example**

```rust
use asposepdf::Document;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    // Dosya adıyla bir PDF-belgesi aç
    let pdf = Document::open("sample.pdf")?;

    // Önceden açılmış PDF-belgesinden AcroForm ile XFDF-belgesine dışa aktar.
    pdf.export_xfdf("sample.xfdf")?;

    Ok(())
}

```