You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is no web server installed you can run the examples locally, using Python. So, if you are using Linux or Mac OS X, everything is ready on your system. If you are a Windows user, you can download the installation file from the Python home page:
Copy file name to clipboardExpand all lines: net/advanced-operations/annotations/_index.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,7 @@ You are able to do the following:
93
93
-[Overview of Annotations](/pdf/net/overview-of-annotations/) - learn which types of annotations are defined by the PDF specification, and what Aspose.PDF supports.
94
94
-[Add, Delete and Get Annotation](/pdf/net/add-delete-and-get-annotation/) - this section explains how to work with all types of allowed annotations.
95
95
-[Import and export annotation with XFDF format](/pdf/net/import-export-xfdf/) - Aspose.PDF library provided methods to import and export annotations data to XFDF files.
96
+
-[Import FDF format annotations to PDF](/pdf/net/import-fdf/) - Aspose.PDF library provided method to import FDF format annotations to PDF files.
title: Import FDF format annotations to PDF via C#
3
+
linktitle: Import FDF format annotations to PDF
4
+
type: docs
5
+
weight: 50
6
+
url: /net/import-fdf/
7
+
description: Use existing Form.ImportFdf() or add PdfAnnotationEditor.ImportAnnotationsFromFdf() methods for import FDF format annotations to PDF with Aspose.PDF for .NET.
8
+
lastmod: "2024-09-17"
9
+
sitemap:
10
+
changefreq: "monthly"
11
+
priority: 0.7
12
+
---
13
+
14
+
{{% alert color="primary" %}}
15
+
16
+
FDF (Forms Data Format) is a file format that stores and transmits form data and annotations in PDF documents. It is a lightweight PDF version that contains only the form field values or comments, without the full content of the original PDF file. FDF files are often used when submitting form data to a server, or when exchanging annotations without needing to send the entire PDF file. They can be imported back into a PDF to fill in form fields or apply comments.
17
+
18
+
{{% /alert %}}
19
+
20
+
[PDFAnnotationEditor](https://reference.aspose.com/pdf/net/aspose.pdf.facades/pdfannotationeditor/) class contains method to work with import of annotations from FDF file. [PdfAnnotationEditor.ImportAnnotationsFromFdf](https://reference.aspose.com/pdf/net/aspose.pdf.facades/pdfannotationeditor/importannotationsfromfdf/) method provides the functionality to import annotations from a FDF document to PDF file.
21
+
22
+
Also, [Class Form](https://reference.aspose.com/pdf/net/aspose.pdf.facades/form/) include the [Form.ImportFdf](https://reference.aspose.com/pdf/net/aspose.pdf.facades/form/importfdf/) method - imports the content of the fields from the FDF file and put them into the new PDF.
23
+
24
+
The following code snippet shows you how to Import FDF format annotations to PDF with Form.ImportFdf() method:
25
+
26
+
```csharp
27
+
28
+
varfdfPath=Params.InputPath+"test.fdf";
29
+
vartemplatePath=Params.InputPath+"Empty.pdf";
30
+
varoutputPath=Params.OutputPath+"test_form.pdf";
31
+
32
+
using (varform=newAspose.Pdf.Facades.Form(templatePath))
33
+
{
34
+
using (varfdfInputStream=newFileStream(fdfPath, FileMode.Open))
35
+
{
36
+
form.ImportFdf(fdfInputStream);
37
+
}
38
+
39
+
form.Save(outputPath);
40
+
}
41
+
```
42
+
43
+
The next code snippet shows how to import FDF format annotations to PDF with PdfAnnotationEditor.ImportAnnotationsFromFdf() method:
Copy file name to clipboardExpand all lines: net/get-started/licensing/_index.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,12 +15,12 @@ sitemap:
15
15
16
16
We want our customers to test our components thoroughly before buying so the evaluation version allows you to use it as you would normally.
17
17
18
-
-**PDF created with an evaluation watermark.** The evaluation version of Aspose.PDF for .NET provides full product functionality, but all the pages in the generated PDF documents are watermarked with "Evaluation Only. Created with Aspose.PDF. Copyright 2002-2020 Aspose Pty Ltd" at the top.
18
+
-**PDF created with an evaluation watermark.** The evaluation version of Aspose.PDF for .NET provides full product functionality, but all pages in the generated PDF documents are watermarked with the text "Evaluation Only. Created with Aspose.PDF. Copyright 2002-2024 Aspose Pty Ltd." at the top.
19
19
20
-
-**The limit of the number of collection items that can be processed.**
21
-
In the evaluation version from any collection, you can process only four elements (for example, only 4 pages, 4 form fields, etc.).
20
+
-**Limit the number of pages that can be processed.**
21
+
In the evaluation version, you can only process the first four pages of a document.
22
22
23
-
>If you want to test Aspose.HTML for .NET without the evaluation version limitations, you can also request a 30-day Temporary License. Please refer to [How to get a Temporary License?](https://purchase.aspose.com/temporary-license)
23
+
>If you want to test Aspose.PDF for .NET without the evaluation version limitations, you can also request a 30-day Temporary License. Please refer to [How to get a Temporary License?](https://purchase.aspose.com/temporary-license)
24
24
25
25
## Classic license
26
26
@@ -142,6 +142,4 @@ namespace Aspose.Pdf.Examples
142
142
}
143
143
}
144
144
```
145
-
### Applying a License Bought Before 2005/01/22
146
145
147
-
Aspose.PDF for .NET no longer supports the old-style licenses. If you have a license from before 22 January 2005 and you have updated to a more recent version of Aspose.PDF, please contact our Sales team to get a new license file.
@@ -33,9 +33,12 @@ The following table indicates the file formats that Aspose.PDF C# can load and S
33
33
|[PPTX](https://docs.fileformat.com/presentation/pptx/)|Saves the document in the Microsoft PowerPoint Presentations format||{{< emoticons/tick >}}||
34
34
|[DOC](https://docs.fileformat.com/word-processing/doc/)|Saves the document in the Microsoft Word format||{{< emoticons/tick >}}||
35
35
|[DOCX](https://docs.fileformat.com/word-processing/docx/)|Saves the document in the Microsoft Word format||{{< emoticons/tick >}}||
36
+
|[DJVU](https://docs.fileformat.com/image/djvu/)|DjVu is a graphics file format intended for scanned documents and books developed by AT&T Labs|{{< emoticons/tick >}}|||
37
+
|[CDR](https://docs.fileformat.com/image/cdr/)|A CDR file is a vector drawing image file that is natively created with CorelDRAW|{{< emoticons/tick >}}|||
36
38
|[MobiXML](https://docs.fileformat.com/ebook/mobi/)|Saves the document in eBook MobiXML Standard format||{{< emoticons/tick >}}||
37
39
|[JPEG](https://docs.fileformat.com/image/jpeg/)|Saves the document in JPEG Format|{{< emoticons/tick >}}|{{< emoticons/tick >}}||
38
40
|[EMF](https://docs.fileformat.com/image/emf/)|Enhanced metafile format (EMF)|{{< emoticons/tick >}}|{{< emoticons/tick >}}||
41
+
|[PCL](https://docs.fileformat.com/page-description-language/pcl/)|Printer Command Language which is a Page Description Language introduced by Hewlett Packard (HP)|{{< emoticons/tick >}}|||
39
42
|[PNG](https://docs.fileformat.com/image/png/)|Saves the document in PNG Format|{{< emoticons/tick >}}|{{< emoticons/tick >}}||
40
43
|[BMP](https://docs.fileformat.com/image/bmp/)|Saves the document in BMP Format|{{< emoticons/tick >}}|{{< emoticons/tick >}}||
Copy file name to clipboardExpand all lines: net/whatsnew/_index.md
+96Lines changed: 96 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,102 @@ sitemap:
11
11
lastmod: "2024-09-06"
12
12
---
13
13
14
+
## What's new in Aspose.PDF 24.9
15
+
16
+
Since version 24.9, it has been possible to generate a crash report when the library throws an exception. A crash report includes information about the type of exception, application title, Aspose.Pdf version, OS version, error message, and stack trace.
17
+
18
+
The following code snippet demonstrates a common scenario for generating a crash report:
Extracting an PDF document layer elements and saving into new PDF stream are available from now. In PDF documents, layers (also known as Optional Content Groups or OCGs) are used for various purposes, primarily to manage and control the visibility of content within the document. This functionality is particularly useful in design, engineering, and publishing. For example: blueprint aspects, complex diagram components, language versions of the same content.
The `GraphicalPdfComparer` class is added for the graphic comparison of PDF documents and pages. Graphic comparison deals with document page images. It returns the result as an `ImagesDifference` object or as a PDF document that contains images merged from the original and the differences. Graphic comparison is most useful for documents that have minor differences in text or graphic content.
57
+
58
+
The following code snippet demonstrates the graphic comparison of two PDF documents and saves an image with the differences into the resultant PDF document:
59
+
60
+
```cs
61
+
62
+
varfirstDocumentPath="";
63
+
varsecondDocumentPath="";
64
+
varresultPdfPath="";
65
+
66
+
using (Documentdoc1=newDocument(firstDocumentPath), doc2=newDocument(secondDocumentPath))
API implemented for integrating FileFormat.HEIC and Aspose.PDF. The HEIC (High-Efficiency Image Coding) is a modern image file format introduced by Apple with iOS 11 in 2017 as the default image format for iPhones and iPads.
79
+
80
+
To convert HEIC images to PDF user should add the reference to `FileFormat.HEIC` NuGet package and use the following code snippet:
81
+
82
+
```cs
83
+
84
+
varheicImagePath="iphone_photo.heic";
85
+
varresultPdfPath="iphone_photo.pdf";
86
+
87
+
using (varfs=newFileStream(heicImagePath, FileMode.Open))
0 commit comments