ClearOptionalContentConfigOrder

Optional content, layer panels, document editing

Description

Removes every item from the selected configuration's layer panel order without deleting any optional-content group

Syntax

Delphi

Function TPDFlib.ClearOptionalContentConfigOrder(OptionalContentConfigID: Integer): Integer;

DLL

int DLClearOptionalContentConfigOrder(int InstanceID, int OptionalContentConfigID);

ActiveX

Function PDFlib::ClearOptionalContentConfigOrder(OptionalContentConfigID As Long) As Long

Parameters

OptionalContentConfigIDOne-based configuration identifier where 1 selects the default configuration

Return values

Returns 1 on success or 0 when the configuration does not exist

Remarks

Use the returned handles from the order insertion methods to build a replacement hierarchy

See also

AddOptionalContentConfigOrderLabel, AddOptionalContentConfigOrderGroup, GetOptionalContentConfigOrderCount