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

## Coord::CalculateX(double) method


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

```cpp
double Aspose::Pub::Utils::Coord::CalculateX(double pageWidth)
```


| Parameter | Type | Description |
| --- | --- | --- |
| pageWidth | double | with of page where current coordinate placed |

### ReturnValue

X-coordinate in inches

## See Also

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


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

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


### ReturnValue

X-coordinate in inches

## See Also

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