GetPageContentLayerCount
Page manipulation
Description
This page describes GetPageContentLayerCount in PDF Library for Delphi under the "Page manipulation" topic. API names, parameters, class names, filenames, and literals are kept exactly as they appear in the Delphi library and DLL entry points.
Review the syntax, parameters, and return values before calling the function
Syntax
Delphi
Function TPDFlib.GetPageContentLayerCount: Integer;
Parameters
Reports how many content layers (streams in the /Contents entry) the selected page has. Layer indexes for ParsePageContentLayer and WritePageContentLayer are 1-based.
Return Values
Refer to the PDF Library for Delphi Developer Guide for specific return value semantics.
Remarks
Part of the structured content editing framework (phase 1). A page whose /Contents is a single stream reports one layer; array-valued /Contents reports one layer per element.