## PdfFileMend::AddImage(const System::SharedPtr\<System::IO::Stream\>\&, const System::ArrayPtr\<int32_t\>\&, float, float, float, float) method


Adds image to the specified pages of PDF document at specified coordinates.

```cpp
bool Aspose::Pdf::Facades::PdfFileMend::AddImage(const System::SharedPtr<System::IO::Stream> &imageStream, const System::ArrayPtr<int32_t> &pageNums, float lowerLeftX, float lowerLeftY, float upperRightX, float upperRightY)
```


| Parameter | Type | Description |
| --- | --- | --- |
| imageStream | const System::SharedPtr\<System::IO::Stream\>\& | Input image stream. |
| pageNums | const System::ArrayPtr\<int32_t\>\& | The numbers of pages that will receive the image. |
| lowerLeftX | float | The lower left x of image rectangle. |
| lowerLeftY | float | The lower left y of image rectangle. |
| upperRightX | float | The upper right x of image rectangle. |
| upperRightY | float | The upper right y of image rectangle. |

### ReturnValue

True if success false otherwise.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [PdfFileMend](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## PdfFileMend::AddImage(const System::SharedPtr\<System::IO::Stream\>\&, const System::ArrayPtr\<int32_t\>\&, float, float, float, float, const System::SharedPtr\<CompositingParameters\>\&) method


Adds image to the specified pages of PDF document at specified coordinates.

```cpp
bool Aspose::Pdf::Facades::PdfFileMend::AddImage(const System::SharedPtr<System::IO::Stream> &imageStream, const System::ArrayPtr<int32_t> &pageNums, float lowerLeftX, float lowerLeftY, float upperRightX, float upperRightY, const System::SharedPtr<CompositingParameters> &compositingParameters)
```


| Parameter | Type | Description |
| --- | --- | --- |
| imageStream | const System::SharedPtr\<System::IO::Stream\>\& | Input image stream. |
| pageNums | const System::ArrayPtr\<int32_t\>\& | The numbers of pages that will receive the image. |
| lowerLeftX | float | The lower left x of image rectangle. |
| lowerLeftY | float | The lower left y of image rectangle. |
| upperRightX | float | The upper right x of image rectangle. |
| upperRightY | float | The upper right y of image rectangle. |
| compositingParameters | const System::SharedPtr\<CompositingParameters\>\& | The graphics compositing parameters for the images. |

### ReturnValue

True if success false otherwise.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [CompositingParameters](../../../aspose.pdf/compositingparameters/)
* Class [PdfFileMend](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## PdfFileMend::AddImage(const System::SharedPtr\<System::IO::Stream\>\&, int32_t, float, float, float, float) method


Adds image to the specified page of PDF document at specified coordinates.

```cpp
bool Aspose::Pdf::Facades::PdfFileMend::AddImage(const System::SharedPtr<System::IO::Stream> &imageStream, int32_t pageNum, float lowerLeftX, float lowerLeftY, float upperRightX, float upperRightY)
```


| Parameter | Type | Description |
| --- | --- | --- |
| imageStream | const System::SharedPtr\<System::IO::Stream\>\& | Input image stream. |
| pageNum | int32_t | The number of page that will receive the image. |
| lowerLeftX | float | The lower left x of image rectangle. |
| lowerLeftY | float | The lower left y of image rectangle. |
| upperRightX | float | The upper right x of image rectangle. |
| upperRightY | float | The upper right y of image rectangle. |

### ReturnValue

True if success false otherwise.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [PdfFileMend](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## PdfFileMend::AddImage(const System::SharedPtr\<System::IO::Stream\>\&, int32_t, float, float, float, float, const System::SharedPtr\<CompositingParameters\>\&) method


Adds image to the specified page of PDF document at specified coordinates.

```cpp
bool Aspose::Pdf::Facades::PdfFileMend::AddImage(const System::SharedPtr<System::IO::Stream> &imageStream, int32_t pageNum, float lowerLeftX, float lowerLeftY, float upperRightX, float upperRightY, const System::SharedPtr<CompositingParameters> &compositingParameters)
```


| Parameter | Type | Description |
| --- | --- | --- |
| imageStream | const System::SharedPtr\<System::IO::Stream\>\& | Input image stream. |
| pageNum | int32_t | The number of page that will receive the image. |
| lowerLeftX | float | The lower left x of image rectangle. |
| lowerLeftY | float | The lower left y of image rectangle. |
| upperRightX | float | The upper right x of image rectangle. |
| upperRightY | float | The upper right y of image rectangle. |
| compositingParameters | const System::SharedPtr\<CompositingParameters\>\& | The graphics compositing parameters for the image. |

### ReturnValue

True if success false otherwise.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [CompositingParameters](../../../aspose.pdf/compositingparameters/)
* Class [PdfFileMend](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## PdfFileMend::AddImage(const System::String\&, const System::ArrayPtr\<int32_t\>\&, float, float, float, float) method


Adds image to the specified pages of PDF document at specified coordinates.

```cpp
bool Aspose::Pdf::Facades::PdfFileMend::AddImage(const System::String &imageName, const System::ArrayPtr<int32_t> &pageNums, float lowerLeftX, float lowerLeftY, float upperRightX, float upperRightY)
```


| Parameter | Type | Description |
| --- | --- | --- |
| imageName | const System::String\& | The path of input image file. |
| pageNums | const System::ArrayPtr\<int32_t\>\& | The numbers of pages that will receive the image. |
| lowerLeftX | float | The lower left x of image rectangle. |
| lowerLeftY | float | The lower left y of image rectangle. |
| upperRightX | float | The upper right x of image rectangle. |
| upperRightY | float | The upper right y of image rectangle. |

### ReturnValue

True if success false otherwise.

## See Also

* Class [String](../../../system/string/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [PdfFileMend](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## PdfFileMend::AddImage(const System::String\&, const System::ArrayPtr\<int32_t\>\&, float, float, float, float, const System::SharedPtr\<CompositingParameters\>\&) method


Adds image to the specified pages of PDF document at specified coordinates.

```cpp
bool Aspose::Pdf::Facades::PdfFileMend::AddImage(const System::String &imageName, const System::ArrayPtr<int32_t> &pageNums, float lowerLeftX, float lowerLeftY, float upperRightX, float upperRightY, const System::SharedPtr<CompositingParameters> &compositingParameters)
```


| Parameter | Type | Description |
| --- | --- | --- |
| imageName | const System::String\& | The path of input image file. |
| pageNums | const System::ArrayPtr\<int32_t\>\& | The numbers of pages that will receive the image. |
| lowerLeftX | float | The lower left x of image rectangle. |
| lowerLeftY | float | The lower left y of image rectangle. |
| upperRightX | float | The upper right x of image rectangle. |
| upperRightY | float | The upper right y of image rectangle. |
| compositingParameters | const System::SharedPtr\<CompositingParameters\>\& | The graphics compositing parameters for the images. |

### ReturnValue

True if success false otherwise.

## See Also

* Class [String](../../../system/string/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [CompositingParameters](../../../aspose.pdf/compositingparameters/)
* Class [PdfFileMend](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## PdfFileMend::AddImage(const System::String\&, int32_t, float, float, float, float) method


Adds image to the specified page of PDF document at specified coordinates.

```cpp
bool Aspose::Pdf::Facades::PdfFileMend::AddImage(const System::String &imageName, int32_t pageNum, float lowerLeftX, float lowerLeftY, float upperRightX, float upperRightY)
```


| Parameter | Type | Description |
| --- | --- | --- |
| imageName | const System::String\& | The path of input image file. |
| pageNum | int32_t | The number of page that will receive the image. |
| lowerLeftX | float | The lower left x of image rectangle. |
| lowerLeftY | float | The lower left y of image rectangle. |
| upperRightX | float | The upper right x of image rectangle. |
| upperRightY | float | The upper right y of image rectangle. |

### ReturnValue

True if success false otherwise.

## See Also

* Class [String](../../../system/string/)
* Class [PdfFileMend](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## PdfFileMend::AddImage(const System::String\&, int32_t, float, float, float, float, const System::SharedPtr\<CompositingParameters\>\&) method


Adds image to the specified page of PDF document at specified coordinates.

```cpp
bool Aspose::Pdf::Facades::PdfFileMend::AddImage(const System::String &imageName, int32_t pageNum, float lowerLeftX, float lowerLeftY, float upperRightX, float upperRightY, const System::SharedPtr<CompositingParameters> &compositingParameters)
```


| Parameter | Type | Description |
| --- | --- | --- |
| imageName | const System::String\& | The path of input image file. |
| pageNum | int32_t | The number of page that will receive the image. |
| lowerLeftX | float | The lower left x of image rectangle. |
| lowerLeftY | float | The lower left y of image rectangle. |
| upperRightX | float | The upper right x of image rectangle. |
| upperRightY | float | The upper right y of image rectangle. |
| compositingParameters | const System::SharedPtr\<CompositingParameters\>\& | The graphics compositing parameters for the images. |

### ReturnValue

True if success false otherwise.

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [CompositingParameters](../../../aspose.pdf/compositingparameters/)
* Class [PdfFileMend](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
