GetOptionalContentConfigOrderItemLabelA

Content Streams and Optional Content Groups

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetOptionalContentConfigOrderItemLabel and string arguments are interpreted using the current SetAnsiMode code page

Returns the label text for an item in the order array of the specified optional content configuration dictionary.

Syntax

Delphi

Function DLGetOptionalContentConfigOrderItemLabelA(InstanceID, OptionalContentConfigID, ItemIndex: Integer): PAnsiChar;

DLL

const char * DLGetOptionalContentConfigOrderItemLabelA(int InstanceID, int OptionalContentConfigID, int ItemIndex);

Parameters

OptionalContentConfigIDThe first default optional content configuration dictionary has an ID of 1. Higher numbers are used for other optional content configuration dictionaries.
ItemIndexThe index number of the item in the order array. The first item has an index number of 1 and the last item has an index equal to the value returned by the GetOptionalContentConfigOrderCount function.