---
title: "ControlPictureSizeMode"
url: "https://reference.aspose.com/diagram/nodejs/global/controlpicturesizemode/"
product: "Aspose.Diagram for Node.js via Java API Reference"
description: "Utility class containing constants."
---


## ControlPictureSizeMode

Utility class containing constants. Represents how to display the picture.

## Values

| Name | Description |
| --- | --- |
| CLIP | Crops any part of the picture that is larger than the control's boundaries. |
| STRETCH | Stretches the picture to fill the control's area. This setting distorts the picture in either the horizontal or vertical direction. |
| ZOOM | Enlarges the picture, but does not distort the picture in either the horizontal or vertical direction. |
