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

# Matrix3D

## Overview

`Matrix3D` is a class in Aspose.PDF FOSS for .NET.

4×3 affine 3D matrix (for PDF 3D camera positioning).

This class provides 9 methods for working with Matrix3D objects in .NET programs.
Available methods include: `Add`, `Equals`, `GetAngle`, `GetHashCode`, `Matrix3D`, `ToString`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `A`, `B`, `C`, `D`, `E`, `F`, and 6 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `A` | `double` | Read/Write | Gets or sets the a. |
| `B` | `double` | Read/Write | Gets or sets the b. |
| `C` | `double` | Read/Write | Gets or sets the c. |
| `D` | `double` | Read/Write | Gets or sets the d. |
| `E` | `double` | Read/Write | Gets or sets the e. |
| `F` | `double` | Read/Write | Gets or sets the f. |
| `G` | `double` | Read/Write | Gets or sets the g. |
| `H` | `double` | Read/Write | Gets or sets the h. |
| `I` | `double` | Read/Write | Gets or sets the i. |
| `Tx` | `double` | Read/Write | Gets or sets the tx. |
| `Ty` | `double` | Read/Write | Gets or sets the ty. |
| `Tz` | `double` | Read/Write | Gets or sets the tz. |

## Methods

| Signature | Description |
|-----------|-------------|
| `Matrix3D()` | Calls Matrix3D on this Matrix3D instance. |
| `Matrix3D(matrix: Matrix3D)` |  |
| `Matrix3D(a: double, b: double, c: double, d: double, e: double, f: double, g: double, h: double, i: double, tx: double, ty: double, tz: double)` |  |
| `Matrix3D(matrix3DArray: double[])` |  |
| `Add(other: Matrix3D)` | Componentwise sum of this matrix and other. |
| `GetAngle(rotation: Rotation)` | Convert a rotation enum value (None/on90/on180/on270/on360) to radians. |
| `Equals(obj: object?)` | Calls Equals on this Matrix3D instance. |
| `GetHashCode()` | Calls GetHashCode on this Matrix3D instance. |
| `ToString()` | Calls ToString on this Matrix3D instance. |

## See Also

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