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

# SetGlareAlgorithm

## Description

Allows you to select the glare algorithm.

## Syntax

*object*.SetGlareAlgorithm(short nType) As Short

* *object*: Virtual Human Vision Lab object

* *nType*: glare algorithm

  0 : Vos

  1: Holladay

In order for the display to take these changes into account, you need to call the
[UpdateDisplayAndData](https://developer.synopsys.com/docs/speos/speos-labs-automation/virtual_human_vision_lab/map_and_display_option/labvhv_updatedisplayanddata.md) method.
