---
title: "Jpeg2kFrame Constructor (Int32, Int32, Jpeg2kProgressionOrder)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Codecs_Jpeg2kFrame_ctor_3_9e98b5f3.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/)

# Jpeg2kFrame Constructor (Int32, Int32, Jpeg2kProgressionOrder)
 
Creates and initializes new [Jpeg2kFrame](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_Jpeg2kFrame.htm.md) class instance.
 
**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 ( _tileWidth As Integer, _tileHeight As Integer, _progressionOrder As Jpeg2kProgressionOrder _
)
```
 
```csharp
public Jpeg2kFrame(int tileWidth,int tileHeight,Jpeg2kProgressionOrder progressionOrder
)
```
 
### Parameters
 
 - tileWidth
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
A non-negative value that specifies a JPEG2000 tile width. If it equals to 0, the tile height is taken the same as a bitmap height. You can change this value later using the [TileWidth](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_Jpeg2kFrame_TileWidth.htm.md) property.

 - tileHeight
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
A non-negative value that specifies a JPEG2000 tile height. If it equals to 0, the tile height is taken the same as a bitmap height. You can change this value later using the [TileHeight](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_Jpeg2kFrame_TileHeight.htm.md) property.

 - progressionOrder
     - Type: [Aurigma.GraphicsMill.Codecs.Jpeg2kProgressionOrder](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_Jpeg2kProgressionOrder.htm.md)
A member of the [Jpeg2kProgressionOrder](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_Jpeg2kProgressionOrder.htm.md) enumeration which specifies a progression order of the JPEG2000 compression. You can change this value later using the [ProgressionOrder](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_Jpeg2kFrame_ProgressionOrder.htm.md) property.
   
## See Also

### Reference

- [Jpeg2kFrame Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_Jpeg2kFrame.htm.md)
- [Jpeg2kFrame Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Codecs_Jpeg2kFrame_ctor.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
