## ImagePlacement::Save(const System::SharedPtr\<System::IO::Stream\>\&) method


Saves image with corresponding transformations: scaling, rotation and resolution.

```cpp
void Aspose::Pdf::ImagePlacement::Save(const System::SharedPtr<System::IO::Stream> &stream)
```


| Parameter | Type | Description |
| --- | --- | --- |
| stream | const System::SharedPtr\<System::IO::Stream\>\& | Stream where image will be saved |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [ImagePlacement](../)
* Namespace [Aspose::Pdf](../../)
* Library [Aspose.PDF for C++](../../../)
## ImagePlacement::Save(const System::SharedPtr\<System::IO::Stream\>\&, const System::SharedPtr\<System::Drawing::Imaging::ImageFormat\>\&) method


Saves image with corresponding transformations: scaling, rotation and resolution.

```cpp
void Aspose::Pdf::ImagePlacement::Save(const System::SharedPtr<System::IO::Stream> &stream, const System::SharedPtr<System::Drawing::Imaging::ImageFormat> &format)
```


| Parameter | Type | Description |
| --- | --- | --- |
| stream | const System::SharedPtr\<System::IO::Stream\>\& | Stream where image will be saved |
| format | const System::SharedPtr\<System::Drawing::Imaging::ImageFormat\>\& | Format which will be used for image enconding. [ImageFormat](../) |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [ImageFormat](../../../system.drawing.imaging/imageformat/)
* Class [ImagePlacement](../)
* Namespace [Aspose::Pdf](../../)
* Library [Aspose.PDF for C++](../../../)
