> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionIso11783OPChangePolygonScale

# Iso11783OPChangePolygonScale

[Valid for](../../../../Shared/FeatureAvailability.md):  CANoe DE • CANoe4SW DE

## Function Syntax

```plaintext theme={null}
long Iso11783OPChangePolygonScale( dword ecuHandle, 
 dword polygonID, dword width, dword height );
```

## Description

The function changes the size of a polygon object. A **Change Polygon Scale** command is sent to the Virtual Terminal.

## Parameters

* **ecuHandle**: Handle of the ECU (must be created with [Iso11783CreateECU](CAPLfunctionIso11783CreateECU.md))
* **polygonID**: Object ID of a polygon object
* **width**: Width of the bounding rectangle in pixel
* **height**: Height of the bounding rectangle in pixel

## Return Values

0 or [error code](../CAPLfunctionsISONLErrorCodes.md)

## Example

```plaintext theme={null}
Iso11783OPChangePolygonScale( handle, 1200, 80, 40 );
```
