Aspose::Pdf::Facades::PdfContentEditor::CreateFileAttachment method

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)
ParameterTypeDescription
rectSystem::Drawing::RectangleThe annotation rectangle defining the location of the annotation on the page.
contentsSystem::StringThe contents of the annotation.
attachmentStreamSystem::SharedPtr<System::IO::Stream>The attachment file stream.
attachmentNameSystem::StringThe attachment name.
pageint32_tThe number of original page where the annotation will be created.
nameSystem::StringThe name of an icon will be used in displaying the annotation. This value can be: “Graph”, “PushPin”, “Paperclip”, “Tag”.

See Also

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)
ParameterTypeDescription
rectSystem::Drawing::RectangleThe annotation rectangle defining the location of the annotation on the page.
contentsSystem::StringThe contents of the annotation.
attachmentStreamSystem::SharedPtr<System::IO::Stream>The attachment file stream.
attachmentNameSystem::StringThe attachment name.
pageint32_tThe number of original page where the annotation will be created.
nameSystem::StringThe name of an icon will be used in displaying the annotation. This value can be: “Graph”, “PushPin”, “Paperclip”, “Tag”.
opacitydoubleIcon’s opacity from 0 to 1: 0 - completely transparant, 1 - completely opaque.

See Also

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)
ParameterTypeDescription
rectSystem::Drawing::RectangleThe annotation rectangle defining the location of the annotation on the page.
contentsSystem::StringThe contents of the annotation.
filePathSystem::StringThe path of the file will be attached.
pageint32_tThe number of original page where the annotation will be created.
nameSystem::StringThe name of an icon will be used in displaying the annotation. This value can be: “Graph”, “PushPin”, “Paperclip”, “Tag”.

See Also

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)
ParameterTypeDescription
rectSystem::Drawing::RectangleThe annotation rectangle defining the location of the annotation on the page.
contentsSystem::StringThe contents of the annotation.
filePathSystem::StringThe path of the file will be attached.
pageint32_tThe number of original page where the annotation will be created.
nameSystem::StringThe name of an icon will be used in displaying the annotation. This value can be: “Graph”, “PushPin”, “Paperclip”, “Tag”.
opacitydoubleIcon’s opacity from 0 to 1: 0 - completely transparant, 1 - completely opaque.

See Also