---
title: "Coord.CalculateX"
url: "https://reference.aspose.com/pub/net/aspose.pub.utils/coord/calculatex/"
product: "Aspose.PUB for .NET API Reference"
description: "Coord method. Transforms value for Xcoordinate from natural PUB metric system into inches"
---

## CalculateX(double) {#calculatex_1}

Transforms value for X-coordinate from natural PUB metric system into inches

```csharp
public double CalculateX(double pageWidth)
```

| Parameter | Type | Description |
| --- | --- | --- |
| pageWidth | Double | with of page where current coordinate placed |

### Return Value

X-coordinate in inches

### See Also

* class [Coord](../)
* namespace [Aspose.Pub.Utils](../../coord/)
* assembly [Aspose.PUB](../../../)

---

## CalculateX() {#calculatex}

Transforms value for X-coordinate from natural PUB metric system into inches

```csharp
public double CalculateX()
```

### Return Value

X-coordinate in inches

### See Also

* class [Coord](../)
* namespace [Aspose.Pub.Utils](../../coord/)
* assembly [Aspose.PUB](../../../)


