Aspose::Pdf::Facades::PdfContentEditor::CreateFileAttachment método

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ámetroTipoDescripción
rectSystem::Drawing::RectangleEl rectángulo de anotación que define la ubicación de la anotación en la página.
contenidoconst System::String&El contenido de la anotación.
attachmentStreamconst System::SharedPtr<System::IO::Stream>&El flujo del archivo adjunto.
attachmentNameconst System::String&El nombre del adjunto.
páginaint32_tEl número de la página original donde se creará la anotación.
nombreconst 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

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ámetroTipoDescripción
rectSystem::Drawing::RectangleEl rectángulo de anotación que define la ubicación de la anotación en la página.
contenidoconst System::String&El contenido de la anotación.
attachmentStreamconst System::SharedPtr<System::IO::Stream>&El flujo del archivo adjunto.
attachmentNameconst System::String&El nombre del adjunto.
páginaint32_tEl número de la página original donde se creará la anotación.
nombreconst System::String&El nombre de un ícono se usará al mostrar la anotación. Este valor puede ser: “Graph”, “PushPin”, “Paperclip”, “Tag”.
opacitydoubleOpacidad del ícono de 0 a 1: 0 - completamente transparente, 1 - completamente opaco.

Ver también

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ámetroTipoDescripción
rectSystem::Drawing::RectangleEl rectángulo de anotación que define la ubicación de la anotación en la página.
contenidoconst System::String&El contenido de la anotación.
filePathconst System::String&La ruta del archivo que se adjuntará.
páginaint32_tEl número de la página original donde se creará la anotación.
nombreconst 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

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ámetroTipoDescripción
rectSystem::Drawing::RectangleEl rectángulo de anotación que define la ubicación de la anotación en la página.
contenidoconst System::String&El contenido de la anotación.
filePathconst System::String&La ruta del archivo que se adjuntará.
páginaint32_tEl número de la página original donde se creará la anotación.
nombreconst System::String&El nombre de un ícono se usará al mostrar la anotación. Este valor puede ser: “Graph”, “PushPin”, “Paperclip”, “Tag”.
opacitydoubleOpacidad del ícono de 0 a 1: 0 - completamente transparente, 1 - completamente opaco.

Ver también