---
title: "Bitmap..::.ToGdiplusBitmapDirectly Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Bitmap_ToGdiplusBitmapDirectly.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.ToGdiplusBitmapDirectly Method 
 
Returns [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) 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 ToGdiplusBitmapDirectly As Bitmap
```
 
```csharp
public Bitmap ToGdiplusBitmapDirectly()
```
 
### Return Value
 [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) class instance.
 
## Remarks
 If you need to get a copy of current [System.Drawing.Bitmap](http://msdn2.microsoft.com/en-us/4e7y164x) (which is detached from the bitmap data of this image), use [ToGdiplusBitmap()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Bitmap_ToGdiplusBitmap.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)
