Aspose::Pdf::Facades::PdfContentEditor::CreateFileAttachment method
Contents
[
Hide
]PdfContentEditor::CreateFileAttachment(System::Drawing::Rectangle, System::String, System::SharedPtr<System::IO::Stream>, System::String, int32_t, System::String) method
Creates file attachment annotation.
void Aspose::Pdf::Facades::PdfContentEditor::CreateFileAttachment(System::Drawing::Rectangle rect, System::String contents, System::SharedPtr<System::IO::Stream> attachmentStream, System::String attachmentName, int32_t page, System::String name)
Parameter | Type | Description |
---|---|---|
rect | System::Drawing::Rectangle | The annotation rectangle defining the location of the annotation on the page. |
contents | System::String | The contents of the annotation. |
attachmentStream | System::SharedPtr<System::IO::Stream> | The attachment file stream. |
attachmentName | System::String | The attachment name. |
page | int32_t | The number of original page where the annotation will be created. |
name | System::String | The name of an icon will be used in displaying the annotation. This value can be: “Graph”, “PushPin”, “Paperclip”, “Tag”. |
See Also
- Class Rectangle
- Class String
- Typedef SharedPtr
- Class Stream
- Class PdfContentEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfContentEditor::CreateFileAttachment(System::Drawing::Rectangle, System::String, System::SharedPtr<System::IO::Stream>, System::String, int32_t, System::String, double) method
Creates file attachment annotation.
void Aspose::Pdf::Facades::PdfContentEditor::CreateFileAttachment(System::Drawing::Rectangle rect, System::String contents, System::SharedPtr<System::IO::Stream> attachmentStream, System::String attachmentName, int32_t page, System::String name, double opacity)
Parameter | Type | Description |
---|---|---|
rect | System::Drawing::Rectangle | The annotation rectangle defining the location of the annotation on the page. |
contents | System::String | The contents of the annotation. |
attachmentStream | System::SharedPtr<System::IO::Stream> | The attachment file stream. |
attachmentName | System::String | The attachment name. |
page | int32_t | The number of original page where the annotation will be created. |
name | System::String | The name of an icon will be used in displaying the annotation. This value can be: “Graph”, “PushPin”, “Paperclip”, “Tag”. |
opacity | double | Icon’s opacity from 0 to 1: 0 - completely transparant, 1 - completely opaque. |
See Also
- Class Rectangle
- Class String
- Typedef SharedPtr
- Class Stream
- Class PdfContentEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfContentEditor::CreateFileAttachment(System::Drawing::Rectangle, System::String, System::String, int32_t, System::String) method
Creates file attachment annotation.
void Aspose::Pdf::Facades::PdfContentEditor::CreateFileAttachment(System::Drawing::Rectangle rect, System::String contents, System::String filePath, int32_t page, System::String name)
Parameter | Type | Description |
---|---|---|
rect | System::Drawing::Rectangle | The annotation rectangle defining the location of the annotation on the page. |
contents | System::String | The contents of the annotation. |
filePath | System::String | The path of the file will be attached. |
page | int32_t | The number of original page where the annotation will be created. |
name | System::String | The name of an icon will be used in displaying the annotation. This value can be: “Graph”, “PushPin”, “Paperclip”, “Tag”. |
See Also
- Class Rectangle
- Class String
- Class PdfContentEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfContentEditor::CreateFileAttachment(System::Drawing::Rectangle, System::String, System::String, int32_t, System::String, double) method
Creates file attachment annotation.
void Aspose::Pdf::Facades::PdfContentEditor::CreateFileAttachment(System::Drawing::Rectangle rect, System::String contents, System::String filePath, int32_t page, System::String name, double opacity)
Parameter | Type | Description |
---|---|---|
rect | System::Drawing::Rectangle | The annotation rectangle defining the location of the annotation on the page. |
contents | System::String | The contents of the annotation. |
filePath | System::String | The path of the file will be attached. |
page | int32_t | The number of original page where the annotation will be created. |
name | System::String | The name of an icon will be used in displaying the annotation. This value can be: “Graph”, “PushPin”, “Paperclip”, “Tag”. |
opacity | double | Icon’s opacity from 0 to 1: 0 - completely transparant, 1 - completely opaque. |
See Also
- Class Rectangle
- Class String
- Class PdfContentEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++