THotPDF.GetLoadedInfoKeyCount Method
Gets the total number of property key-value pairs contained within the Document Information Dictionary of the loaded PDF document.
Declaration
function GetLoadedInfoKeyCount: Integer;
Unit
HPDFDoc
Return value
Returns the total number of document property entries (usually including Title, Author, Subject, Creator, Producer, etc.).
Usage notes
- 通过该总数,开发者可以确定文档信息字典的容量,也可以结合其他属性遍历的方法列出所有已定义的文档元数据键名。