---
title: "Bitmap..::.ToGdiplusBitmap Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Bitmap_ToGdiplusBitmap.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Bitmap.ToGdiplusBitmap Method 
 
Returns [System.Drawing.Bitmap](http://msdn2.microsoft.com/en-us/4e7y164x) containing a copy of the image stored in current [Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md) class instance.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Function ToGdiplusBitmap As Bitmap
```
 
```csharp
public Bitmap ToGdiplusBitmap()
```
 
### Return Value
 [System.Drawing.Bitmap](http://msdn2.microsoft.com/en-us/4e7y164x) containing a copy of the image stored in current [Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md) class instance.
 
## Remarks
 This method returns a copy of the image. If you need to have a [System.Drawing.Bitmap](http://msdn2.microsoft.com/en-us/4e7y164x) which references to the same bitmap data as the current [Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md), you should use [ToGdiplusBitmapDirectly()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Bitmap_ToGdiplusBitmapDirectly.htm.md) method instead.
   
## See Also

### Reference

- [Bitmap Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
