---
url: https://www.questpdf.com/api-reference/shrink.md
---
# Shrink

Renders its content in the most compact size achievable.
Ideal for situations where the parent element provides more space than necessary.

| Method               | Description                                                          |
|----------------------|----------------------------------------------------------------------|
| **Shrink**           | Shrinks both vertically and horizontally.                            |
| **ShrinkVertical**   | Minimizes content height to the minimum, optimizing vertical space.  |
| **ShrinkHorizontal** | Minimizes content width to the minimum, optimizing horizontal space. |
