Aspose::Pdf::Facades::Form::FillImageField method

Form::FillImageField(const System::String&, const System::SharedPtr<System::IO::Stream>&) method

Overloads function of FillImageField. The input is a image stream.

void Aspose::Pdf::Facades::Form::FillImageField(const System::String &fieldName, const System::SharedPtr<System::IO::Stream> &imageStream)
ParameterTypeDescription
fieldNameconst System::String&The fully qualified field name.
imageStreamconst System::SharedPtr<System::IO::Stream>&The image’s stream.

See Also

Form::FillImageField(const System::String&, const System::String&) method

Pastes an image onto the existing button field as its appearance according to its fully qualified field name.

void Aspose::Pdf::Facades::Form::FillImageField(const System::String &fieldName, const System::String &imageFileName)
ParameterTypeDescription
fieldNameconst System::String&The fully qualified field name of the image button field.
imageFileNameconst System::String&The path of the image file, relative and absolute are both ok.

See Also