Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Node Layer » Iso11783OPChangeFillAttribute

Iso11783OPChangeFillAttribute

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long Iso11783OPChangeFillAttribute( dword ecuHandle, dword objectID, dword color, dword type, dword patternID );

Description

The function changes the properties of a fill attribute object. A Change Fill Attribute command is sent to the Virtual Terminal.

Parameters

  • ecuHandle: Handle of the ECU (must be created with Iso11783CreateECU)
  • objectID: Object ID of a fill attribute object
  • color: Color index
  • type: Fill type:
    • 0: do not fill
    • 1: fill with line color
    • 2: fill with fill color
    • 3: fill with pattern from patternID
  • patternID: Object ID of a picture object, which is used as fill pattern

Return Values

0 or error code

Example

Iso11783OPChangeFillAttribute( handle, 1100, 12, 2, 0xFFFF );