Метод Aspose::Pdf::Facades::Form::FillFields

Form::FillFields method

Заполняет поля текстовых коробок текстовыми значениями и сохраняет документ. Актуально для подписанных документов. Примечание: применяется только к Text Box. И имена, и значения полей чувствительны к регистру.

bool Aspose::Pdf::Facades::Form::FillFields(const System::ArrayPtr<System::String> &fieldNames, const System::ArrayPtr<System::String> &fieldValues, System::SharedPtr<System::IO::Stream> &output)
ПараметрТипОписание
fieldNamesconst System::ArrayPtr<System::String>&Имена полей.
fieldValuesconst System::ArrayPtr<System::String>&Новые значения полей.
outputSystem::SharedPtr<System::IO::Stream>&Поток, в который будет сохранён документ.

ReturnValue

true, если поле найдено и успешно заполнено.

См. также