# PdfPoint struct

> A point in canvas coordinates. PdfPoint struct, PdfNetStack.Drawing namespace.

Namespace: [PdfNetStack.Drawing](https://www.jadev-corp.com/api/pdfnetstack-drawing/)  
Assembly: PdfNetStack.dll  
Package: `PdfNetStack`

A point in canvas coordinates.

```csharp
public readonly record struct PdfPoint : IEquatable<PdfPoint>
```

**Implements**

[IEquatable&lt;PdfPoint\>](https://learn.microsoft.com/dotnet/api/system.iequatable\-1)

## Constructors

### <a id="PdfNetStack_Drawing_PdfPoint__ctor_System_Double_System_Double_"></a> PdfPoint\(double, double\)

A point in canvas coordinates.

```csharp
public PdfPoint(double X, double Y)
```

#### Parameters

`X` [double](https://learn.microsoft.com/dotnet/api/system.double)

Horizontal position.

`Y` [double](https://learn.microsoft.com/dotnet/api/system.double)

Vertical position.

## Properties

### <a id="PdfNetStack_Drawing_PdfPoint_X"></a> X

Horizontal position.

```csharp
public double X { get; init; }
```

#### Property Value

 [double](https://learn.microsoft.com/dotnet/api/system.double)

### <a id="PdfNetStack_Drawing_PdfPoint_Y"></a> Y

Vertical position.

```csharp
public double Y { get; init; }
```

#### Property Value

 [double](https://learn.microsoft.com/dotnet/api/system.double)

## Used in

- [PDF links and annotations in C# and .NET](https://www.jadev-corp.com/guides/annotations/)
- [Draw on PDF pages in C# and .NET](https://www.jadev-corp.com/guides/drawing/)

Source: https://www.jadev-corp.com/pdfnetstack/api/pdfnetstack-drawing/pdfpoint/
