---
title: "UnitConverterObject..::.VerticalUnitsToPixels Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_UnitConverterObject_VerticalUnitsToPixels_1_7a94462e.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/)

# UnitConverterObject.VerticalUnitsToPixels Method 
 
Converts vertical value from unit specified in [Unit](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_UnitConverterObject_Unit.htm.md) property to pixels.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Function VerticalUnitsToPixels ( _units As Single _
) As Integer
```
 
```csharp
public int VerticalUnitsToPixels(float units
)
```
 
### Parameters
 
 - units
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Vertical value in unit specified in [Unit](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_UnitConverterObject_Unit.htm.md) property.
 
### Return Value
Vertical value converted to pixels.
 
## Remarks
 Examples of horizontal values are image height, Y-coordinate, etc.
   
## See Also

### Reference

- [UnitConverterObject Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_UnitConverterObject.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
