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

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

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

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

See Also

Form::FillImageField(System::String, 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(System::String fieldName, System::String imageFileName)
ParameterTypeDescription
fieldNameSystem::StringThe fully qualified field name of the image button field.
imageFileNameSystem::StringThe path of the image file, relative and absolute are both ok.

See Also