---
title: "PdfFrame Constructor (Int32)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Codecs_PdfFrame_ctor_1_25c8efd2.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/)

# PdfFrame Constructor (Int32)
 
Creates and initializes new [PdfFrame](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_PdfFrame.htm.md) class instance. You can initialize JPEG quality 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 ( _quality As Integer _
)
```
 
```csharp
public PdfFrame(int quality
)
```
 
### Parameters
 
 - quality
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Value in range [0, 100] specifying JPEG quality. You can change it using [Quality](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_PdfFrame_Quality.htm.md) property.
 
## Remarks
 If you use this constructor, [Compression](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_PdfFrame_Compression.htm.md) is set to [Jpeg](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_CompressionType.htm.md).
   
## See Also

### Reference

- [PdfFrame Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_PdfFrame.htm.md)
- [PdfFrame Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Codecs_PdfFrame_ctor.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
