PdfFixedDocument.GetCosObjectByNumber Method
GetCosObjectByNumber(UInt32,Boolean)
Gets the specified COS object.
Parameters
objectNumber UInt32
The object number of the specified COS object.
loadStreamContent Boolean
If true then the stream content is also loaded when the object number specifies a stream object. Otherwise only the dictionary part of the stream is loaded.
Remarks
This method should be used with PdfFixedDocument objects created from existing PDF files. For newly created document this method returns null.