Debenu Quick PDF logo

GetOptionalContentConfigCount

Content Streams and Optional Content Groups

Version history

This function was introduced in Quick PDF Library version 7.21.

Description

Returns the number of optional content configuration dictionaries in the selected document.

The first optional content configuration dictionary is used to specify the initial state of the optional content groups when the document is first opened by a PDF viewer. Other configuration dictionaries are used in other circumstances.

The GetOptionalContentConfigState function can be used to determine the state of the optional content groups as defined by a particular optional content configuration dictionary.

Syntax

Delphi

function TDebenuPDFLibrary1811.GetOptionalContentConfigCount: Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::GetOptionalContentConfigCount As Long

DLL

int DPLGetOptionalContentConfigCount(int InstanceID)

Return values

0 The document does not have any optional content configuration dictionaries.
Non-zero The number of optional content configuration dictionaries in the document.

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport