export_fdf
AcroForm içeren daha önce açılmış PDF-belgesinden dosya adıyla FDF-belgesine dışa aktarır.
pub fn export_fdf(&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
use asposepdf::Document;
fn main() -> Result<(), Box<dyn std::error::Error>> {
// Dosya adıyla bir PDF-belgesi aç
let pdf = Document::open("sample.pdf")?;
// AcroForm içeren daha önce açılmış PDF-belgesinden FDF-belgesine dışa aktar
pdf.export_fdf("sample.fdf")?;
Ok(())
}