---
title: "BitmapData..::.Import Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_BitmapData_Import_3_413b0f7a.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/)

# BitmapData.Import Method 
 
Fills the pixels of the current [BitmapData](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_BitmapData.htm.md) object from given 3D array.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub Import ( _array As Integer(,,) _
)
```
 
```csharp
public void Import(int[,,] array
)
```
 
### Parameters
 
 - array
     - Type:  [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d) [,]
Array of image pixels should have the following format: first dimension is bitmap columns, second dimension is a bitmap rows, third dimension is a pixels channels. 
**Note**
Array width, height, and channel number must conform current bitmap data dimensions and pixel format.
   
## See Also

### Reference

- [BitmapData Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_BitmapData.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
