## Form::ImportXml(const System::SharedPtr\<System::IO::Stream\>\&) method


Imports the content of the fields from the xml file and put them into the new pdf.

```cpp
void Aspose::Pdf::Facades::Form::ImportXml(const System::SharedPtr<System::IO::Stream> &inputXmlStream)
```


| Parameter | Type | Description |
| --- | --- | --- |
| inputXmlStream | const System::SharedPtr\<System::IO::Stream\>\& | Stream from which XML for import is read. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [Form](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## Form::ImportXml(const System::SharedPtr\<System::IO::Stream\>\&, bool) method


Imports the content of the fields from the xml file and put them into the new pdf.

```cpp
void Aspose::Pdf::Facades::Form::ImportXml(const System::SharedPtr<System::IO::Stream> &inputXmlStream, bool IgnoreFormTemplateChanges)
```


| Parameter | Type | Description |
| --- | --- | --- |
| inputXmlStream | const System::SharedPtr\<System::IO::Stream\>\& | The input xml stream. |
| IgnoreFormTemplateChanges | bool | If this parameter is true then all changes of the XFA form template will not be saved |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [Form](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
