    

 ## On this page

  

 

 # GetValueRectangle 

 Last update: 17.07.2025 

## Description

Gets the average value for the given rectangle area.

## Syntax

*object*.GetValueRectangle(double dXPos, double dYPos, double dWidth, double dHeight) As Double

- *object*: Virtual Photometric Lab object
- *dXPos*: horizontal coordinate of the center of the rectangle
- *dYPos*: vertical coordinate of the center of the rectangle
- *dWidth*: horizontal size of the rectangle
- *dHeight*: vertical size of the rectangle

## Remark

For Conoscopic map, the given area is a corona defined by:

- *dXPos*: Minimum value of the theta angle
- *dYPos*: Maximum value of the theta angle
- *dWidth*: Minimum value of the phi angle
- *dHeight*: Maximum value of the phi angle