Método Aspose::Pdf::Forms::Form::Add

Form::Add(const System::SharedPtr<Field>&) method

Añade un campo al formulario.

void Aspose::Pdf::Forms::Form::Add(const System::SharedPtr<Field> &field)
ParámetroTipoDescripción
fieldconst System::SharedPtr<Field>&Field que debe añadirse.

Ver también

Form::Add(const System::SharedPtr<Field>&, int32_t) method

Añade un campo al formulario.

void Aspose::Pdf::Forms::Form::Add(const System::SharedPtr<Field> &field, int32_t pageNumber)
ParámetroTipoDescripción
fieldconst System::SharedPtr<Field>&Field que debe añadirse.
pageNumberint32_tPage índice donde se colocará el campo añadido.

Ver también

Form::Add(System::SharedPtr<Field>, const System::String&, int32_t) method

Añade un nuevo campo al formulario; si este campo ya está colocado en otro formulario o en este, se crea una copia del campo.

System::SharedPtr<Field> Aspose::Pdf::Forms::Form::Add(System::SharedPtr<Field> field, const System::String &partialName, int32_t pageNumber)
ParámetroTipoDescripción
fieldSystem::SharedPtr<Field>Field nombre.
partialNameconst System::String&Nombre del campo en el formulario.
pageNumberint32_tPage número donde se añadirá el campo.

ReturnValue

Campo añadido devuelto. Si se creó una copia del campo, será devuelta.

Ver también