---
title: "Aspose::Pub::Utils::Coord::CalculateY method"
url: "https://reference.aspose.com/pub/cpp/aspose.pub.utils/coord/calculatey/"
product: "Aspose.PUB for C++"
description: "Aspose::Pub::Utils::Coord::CalculateY method. Transforms value for Y-coordinate from natural PUB metric system into inches in C++."
---

## Coord::CalculateY(double) method


Transforms value for Y-coordinate from natural PUB metric system into inches.

```cpp
double Aspose::Pub::Utils::Coord::CalculateY(double pageHeight)
```


| Parameter | Type | Description |
| --- | --- | --- |
| pageHeight | double | height of page where current coordinate placed |

### ReturnValue

Y-coordinate in inches

## See Also

* Class [Coord](../)
* Namespace [Aspose::Pub::Utils](../../)
* Library [Aspose.PUB for C++](../../../)
## Coord::CalculateY() method


Transforms value for Y-coordinate from natural PUB metric system into inches.

```cpp
double Aspose::Pub::Utils::Coord::CalculateY()
```


### ReturnValue

Y-coordinate in inches

## See Also

* Class [Coord](../)
* Namespace [Aspose::Pub::Utils](../../)
* Library [Aspose.PUB for C++](../../../)
