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

# Pattern

## Overview

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

Abstract base for all PDF pattern types.

Properties: `Matrix`, `PatternType`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `PatternType` | `int` | Read | Pattern type (1 = tiling, 2 = shading). |
| `Matrix` | `double[]?` | Read | Transformation matrix [a b c d e f], or null if absent (identity). |

## See Also

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