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

# ContentsResizeValue

## Overview

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

Represents a content-resize value.

This class provides 3 methods for working with ContentsResizeValue objects in .NET programs.
Available methods include: `Auto`, `Percents`, `Units`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `IsPercent`, `PercentValue`, `UnitValue`, `Value`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Value` | `double` | Read | The numeric value (percentage or points, depending on IsPercent). |
| `IsPercent` | `bool` | Read | True when Value is a percentage of the page dimension. |
| `PercentValue` | `double` | Read/Write | Set this value as a percentage of the page dimension. |
| `UnitValue` | `double` | Read/Write | Set this value as an absolute number of points. |

## Methods

| Signature | Description |
|-----------|-------------|
| `Auto()` | Create an auto-sized value (engine derives it from the surrounding constraints). |
| `Percents(value: double)` | Create a value expressed as a percentage of the page dimension. |
| `Units(value: double)` | Create a value expressed as absolute points. |

## See Also

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