Aspose::Pdf::Facades::PdfContentEditor::CreateFileAttachment método
Contenido
[
Ocultar
]PdfContentEditor::CreateFileAttachment(System::Drawing::Rectangle, const System::String&, const System::SharedPtr<System::IO::Stream>&, const System::String&, int32_t, const System::String&) method
Crea una anotación de adjunto de archivo.
void Aspose::Pdf::Facades::PdfContentEditor::CreateFileAttachment(System::Drawing::Rectangle rect, const System::String &contents, const System::SharedPtr<System::IO::Stream> &attachmentStream, const System::String &attachmentName, int32_t page, const System::String &name)
| Parámetro | Tipo | Descripción |
|---|---|---|
| rect | System::Drawing::Rectangle | El rectángulo de anotación que define la ubicación de la anotación en la página. |
| contenido | const System::String& | El contenido de la anotación. |
| attachmentStream | const System::SharedPtr<System::IO::Stream>& | El flujo del archivo adjunto. |
| attachmentName | const System::String& | El nombre del adjunto. |
| página | int32_t | El número de la página original donde se creará la anotación. |
| nombre | const System::String& | El nombre de un ícono se usará al mostrar la anotación. Este valor puede ser: “Graph”, “PushPin”, “Paperclip”, “Tag”. |
Ver también
- Class Rectangle
- Class String
- Typedef SharedPtr
- Class Stream
- Class PdfContentEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfContentEditor::CreateFileAttachment(System::Drawing::Rectangle, const System::String&, const System::SharedPtr<System::IO::Stream>&, const System::String&, int32_t, const System::String&, double) method
Crea una anotación de adjunto de archivo.
void Aspose::Pdf::Facades::PdfContentEditor::CreateFileAttachment(System::Drawing::Rectangle rect, const System::String &contents, const System::SharedPtr<System::IO::Stream> &attachmentStream, const System::String &attachmentName, int32_t page, const System::String &name, double opacity)
| Parámetro | Tipo | Descripción |
|---|---|---|
| rect | System::Drawing::Rectangle | El rectángulo de anotación que define la ubicación de la anotación en la página. |
| contenido | const System::String& | El contenido de la anotación. |
| attachmentStream | const System::SharedPtr<System::IO::Stream>& | El flujo del archivo adjunto. |
| attachmentName | const System::String& | El nombre del adjunto. |
| página | int32_t | El número de la página original donde se creará la anotación. |
| nombre | const System::String& | El nombre de un ícono se usará al mostrar la anotación. Este valor puede ser: “Graph”, “PushPin”, “Paperclip”, “Tag”. |
| opacity | double | Opacidad del ícono de 0 a 1: 0 - completamente transparente, 1 - completamente opaco. |
Ver también
- Class Rectangle
- Class String
- Typedef SharedPtr
- Class Stream
- Class PdfContentEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfContentEditor::CreateFileAttachment(System::Drawing::Rectangle, const System::String&, const System::String&, int32_t, const System::String&) method
Crea una anotación de adjunto de archivo.
void Aspose::Pdf::Facades::PdfContentEditor::CreateFileAttachment(System::Drawing::Rectangle rect, const System::String &contents, const System::String &filePath, int32_t page, const System::String &name)
| Parámetro | Tipo | Descripción |
|---|---|---|
| rect | System::Drawing::Rectangle | El rectángulo de anotación que define la ubicación de la anotación en la página. |
| contenido | const System::String& | El contenido de la anotación. |
| filePath | const System::String& | La ruta del archivo que se adjuntará. |
| página | int32_t | El número de la página original donde se creará la anotación. |
| nombre | const System::String& | El nombre de un ícono se usará al mostrar la anotación. Este valor puede ser: “Graph”, “PushPin”, “Paperclip”, “Tag”. |
Ver también
- Class Rectangle
- Class String
- Class PdfContentEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfContentEditor::CreateFileAttachment(System::Drawing::Rectangle, const System::String&, const System::String&, int32_t, const System::String&, double) method
Crea una anotación de adjunto de archivo.
void Aspose::Pdf::Facades::PdfContentEditor::CreateFileAttachment(System::Drawing::Rectangle rect, const System::String &contents, const System::String &filePath, int32_t page, const System::String &name, double opacity)
| Parámetro | Tipo | Descripción |
|---|---|---|
| rect | System::Drawing::Rectangle | El rectángulo de anotación que define la ubicación de la anotación en la página. |
| contenido | const System::String& | El contenido de la anotación. |
| filePath | const System::String& | La ruta del archivo que se adjuntará. |
| página | int32_t | El número de la página original donde se creará la anotación. |
| nombre | const System::String& | El nombre de un ícono se usará al mostrar la anotación. Este valor puede ser: “Graph”, “PushPin”, “Paperclip”, “Tag”. |
| opacity | double | Opacidad del ícono de 0 a 1: 0 - completamente transparente, 1 - completamente opaco. |
Ver también
- Class Rectangle
- Class String
- Class PdfContentEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++