'Declaration
Public Function GetCosObjectByNumber( _ ByVal objectNumber As UInteger, _ Optional ByVal loadStreamContent As Boolean _ ) As PdfCosObject
'Usage
Dim instance As PdfFixedDocument Dim objectNumber As UInteger Dim loadStreamContent As Boolean Dim value As PdfCosObject value = instance.GetCosObjectByNumber(objectNumber, loadStreamContent)
public PdfCosObject GetCosObjectByNumber( uint objectNumber, bool loadStreamContent )
public: PdfCosObject^ GetCosObjectByNumber( uint objectNumber, bool loadStreamContent )
Parameters
- objectNumber
- The object number of the specified COS object.
- loadStreamContent
- 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.
Return Value
The COS object if exists, null otherwise.