## PdfAnnotationEditor::ImportAnnotationFromXfdf(const System::SharedPtr\<System::IO::Stream\>\&) method


Imports all annotations from XFDF data stream.

```cpp
void Aspose::Pdf::Facades::PdfAnnotationEditor::ImportAnnotationFromXfdf(const System::SharedPtr<System::IO::Stream> &xfdfStream)
```


| Parameter | Type | Description |
| --- | --- | --- |
| xfdfStream | const System::SharedPtr\<System::IO::Stream\>\& | The input XFDF data stream. |

## Deprecated
Method is obsolete, please use ImportAnnotationsFromXfdf instead 

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [PdfAnnotationEditor](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## PdfAnnotationEditor::ImportAnnotationFromXfdf(const System::SharedPtr\<System::IO::Stream\>\&, const System::ArrayPtr\<Annotations::AnnotationType\>\&) method


Imports the specified annotations from XFDF data stream.

```cpp
void Aspose::Pdf::Facades::PdfAnnotationEditor::ImportAnnotationFromXfdf(const System::SharedPtr<System::IO::Stream> &xfdfStream, const System::ArrayPtr<Annotations::AnnotationType> &annotType)
```


| Parameter | Type | Description |
| --- | --- | --- |
| xfdfStream | const System::SharedPtr\<System::IO::Stream\>\& | The input XFDF data stream. |
| annotType | const System::ArrayPtr\<Annotations::AnnotationType\>\& | The array of annotation types to be imported. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Enum [AnnotationType](../../../aspose.pdf.annotations/annotationtype/)
* Class [PdfAnnotationEditor](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## PdfAnnotationEditor::ImportAnnotationFromXfdf(const System::String\&) method


Imports all annotations from XFDF file.

```cpp
void Aspose::Pdf::Facades::PdfAnnotationEditor::ImportAnnotationFromXfdf(const System::String &xfdfFile)
```


| Parameter | Type | Description |
| --- | --- | --- |
| xfdfFile | const System::String\& | The input XFDF file. |

## Deprecated
Method is obsolete, please use ImportAnnotationsFromXfdf instead 

## See Also

* Class [String](../../../system/string/)
* Class [PdfAnnotationEditor](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## PdfAnnotationEditor::ImportAnnotationFromXfdf(const System::String\&, const System::ArrayPtr\<Annotations::AnnotationType\>\&) method


Imports the specified annotations from XFDF file.

```cpp
void Aspose::Pdf::Facades::PdfAnnotationEditor::ImportAnnotationFromXfdf(const System::String &xfdfFile, const System::ArrayPtr<Annotations::AnnotationType> &annotType)
```


| Parameter | Type | Description |
| --- | --- | --- |
| xfdfFile | const System::String\& | The input XFDF file. |
| annotType | const System::ArrayPtr\<Annotations::AnnotationType\>\& | The annotations array to be imported. |

## See Also

* Class [String](../../../system/string/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Enum [AnnotationType](../../../aspose.pdf.annotations/annotationtype/)
* Class [PdfAnnotationEditor](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
