## PdfContentEditor::AddDocumentAttachment(const System::SharedPtr\<System::IO::Stream\>\&, const System::String\&, const System::String\&) method


Adds document attachment with no annotation.

```cpp
void Aspose::Pdf::Facades::PdfContentEditor::AddDocumentAttachment(const System::SharedPtr<System::IO::Stream> &fileAttachmentStream, const System::String &fileAttachmentName, const System::String &description)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fileAttachmentStream | const System::SharedPtr\<System::IO::Stream\>\& | The stream of the file will be attached. |
| fileAttachmentName | const System::String\& | The attachment name. |
| description | const System::String\& | The description information. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [String](../../../system/string/)
* Class [PdfContentEditor](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## PdfContentEditor::AddDocumentAttachment(const System::String\&, const System::String\&) method


Adds document attachment with no annotation.

```cpp
void Aspose::Pdf::Facades::PdfContentEditor::AddDocumentAttachment(const System::String &fileAttachmentPath, const System::String &description)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fileAttachmentPath | const System::String\& | The path of the file will be attached. |
| description | const System::String\& | The description information. |

## See Also

* Class [String](../../../system/string/)
* Class [PdfContentEditor](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
