---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/PathCommand
---

# PathCommand

## Overview

`PathCommand` is a struct in Aspose.PDF FOSS for .NET.

A single path construction command with coordinates.

This struct provides 1 method for working with PathCommand objects in .NET programs.
Available methods include: `PathCommand`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Op`, `X1`, `X2`, `X3`, `Y1`, `Y2`, and 1 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Op` | `PathOp` | Read | Gets the op. |
| `X1` | `double` | Read | Gets the x1. |
| `Y1` | `double` | Read | Gets the y1. |
| `X2` | `double` | Read | Gets the x2. |
| `Y2` | `double` | Read | Gets the y2. |
| `X3` | `double` | Read | Gets the x3. |
| `Y3` | `double` | Read | Gets the y3. |

## Methods

| Signature | Description |
|-----------|-------------|
| `PathCommand(op: PathOp, x1: double, y1: double, x2: double, y2: double, x3: double, y3: double)` | Calls PathCommand on this PathCommand instance. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)