---
title: "PcxFrame Constructor (Bitmap)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Codecs_PcxFrame_ctor_1_2766dd89.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/)

# PcxFrame Constructor (Bitmap)
 
Creates and initializes new [PcxFrame](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_PcxFrame.htm.md) class instance. You can associate a bitmap with this frame here.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub New ( _bitmap As Bitmap _
)
```
 
```csharp
public PcxFrame(Bitmap bitmap
)
```
 
### Parameters
 
 - bitmap
     - Type: [Aurigma.GraphicsMill.Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md)
 [Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md) class instance which should be associated with this frame. To put another bitmap into frame, you should use [SetBitmap(Bitmap)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_Frame_SetBitmap_1_fd4033ef.htm.md) method.
   
## See Also

### Reference

- [PcxFrame Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_PcxFrame.htm.md)
- [PcxFrame Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Codecs_PcxFrame_ctor.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
