PdfFixedDocument.GetCosObjectCount Method
GetCosObjectCount()
Gets the total number of COS objects in the document.
Remarks
This method should be used with PdfFixedDocument objects created from existing PDF files. For newly created documents this method returns 0.