## ImageData::ToImage method


Gets the image stored in the shape as a **Image** object.

```cpp
System::SharedPtr<System::Drawing::Image> Aspose::Words::Drawing::ImageData::ToImage()
```

## Remarks


A new **Image** object is created every time this method is called.

It is the responsibility of the caller to dispose the image object. 
## See Also

* Class [ImageData](../)
* Namespace [Aspose::Words::Drawing](../../)
* Library [Aspose.Words for C++](../../../)
