> ## 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.

# CAPLfunctionIso11783OPChangeFontAttr

[Open topic with navigation](../../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/ISO11783/ISONodeLayer/Functions/CAPLfunctionIso11783OPChangeFontAttr.md)

[CAPL Functions](../../../CAPLfunctions.md) » [ISO11783](../../CAPLfunctionsISO11783Overview.md) » [ISO11783 Node Layer](../CAPLfunctionsISONLOverview.md) » Iso11783OPChangeFontAttribute

# Iso11783OPChangeFontAttribute

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

## Function Syntax

```plaintext theme={null}
long Iso11783OPChangeFontAttribute( dword ecuHandle, dword objectID, dword color, dword size, dword type, dword style );
```

## Description

The function changes the properties of a font attribute object. A **Change Font Attribute** command is sent to the Virtual Terminal.

## Parameters

* **ecuHandle**: Handle of the ECU (must be created with [Iso11783CreateECU](CAPLfunctionIso11783CreateECU.md))
* **objectID**: Object ID of the font attribute object
* **color**: Color index
* **size**: Size of the font:
  * 0: 6x8
  * 1: 8x8
  * 2: 8x12
  * 3: 12x16
  * 4: 16x16
  * 5: 16x24
  * 6: 24x32
  * 7: 32x32
  * 8: 32x48
  * 9: 48x64
  * 10: 64x64
  * 11: 64x96
  * 12: 96x128
  * 13: 128x128
  * 14: 128x192
* **type**: Font type:
  * 0: ISO8859-1 (ISO Latin 1)
  * 1: ISO8859-15 (ISO Latin 9)
  * 2: ISO8859-2 (ISO Latin 2)
* **style**: Font style:
  * Bit 0: 1 Bold
  * Bit 1: 1 Crossed out
  * Bit 2: 1 Underlined
  * Bit 3: 1 Italic
  * Bit 4: 1 Inverted
  * Bit 5: 1 Flashing

## Return Values

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

## Example

```plaintext theme={null}
Iso11783OPChangeFontAttribute( handle, 1100, 10, 3, 0, 0x01 );
```
