---
title: "Bitmap.GetObjectData Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Bitmap_GetObjectData_2_c341f0d6.htm
product: "Graphics Mill"
---

# Bitmap.GetObjectData Method 
 
Populates a SerializationInfo with the data needed to serialize the [Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md) object.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public void GetObjectData(SerializationInfo info,StreamingContext context
)
```
 
### Parameters
 
 - info
     - Type: System.Runtime.Serialization.SerializationInfo
A SerializationInfo to populate with data.

 - context
     - Type: System.Runtime.Serialization.StreamingContext
The destination (see StreamingContext) for this serialization.
 
### Implements
 
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
   
## See Also

### Reference

- [Bitmap Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
