## Form::FillImageField(const System::String\&, const System::SharedPtr\<System::IO::Stream\>\&) method


Overloads function of FillImageField. The input is a image stream.

```cpp
void Aspose::Pdf::Facades::Form::FillImageField(const System::String &fieldName, const System::SharedPtr<System::IO::Stream> &imageStream)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fieldName | const System::String\& | The fully qualified field name. |
| imageStream | const System::SharedPtr\<System::IO::Stream\>\& | The image's stream. |

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [Form](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## 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.

```cpp
void Aspose::Pdf::Facades::Form::FillImageField(const System::String &fieldName, const System::String &imageFileName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fieldName | const System::String\& | The fully qualified field name of the image button field. |
| imageFileName | const System::String\& | The path of the image file, relative and absolute are both ok. |

## See Also

* Class [String](../../../system/string/)
* Class [Form](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
