---
title: "Common..::.ConvertPointsToPixels Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Common_ConvertPointsToPixels_2_427c5821.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/)

# Common.ConvertPointsToPixels Method 
 
Converts a specified value in points to pixels using the specified dpi.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```
Public Shared Function ConvertPointsToPixels ( _dpi As Single, _points As Single _
) As Integer
```
 
```csharp
public static int ConvertPointsToPixels(float dpi,float points
)
```
 
### Parameters
 
 - dpi
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Resolution used for conversion.

 - points
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Value in points to convert.
 
### Return Value
 
The [Int32](http://msdn2.microsoft.com/en-us/td2s409d) value in pixels equivalent to the points value.
   
## See Also

### Reference

- [Common Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Common.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
