XFINIUM.PDF Documentation
GetCosObjectByNumber Method (PdfFile)



Xfinium.Pdf.Core Namespace > PdfFile Class : GetCosObjectByNumber Method
The object number of the specified COS object.
Gets the specified COS object.
Syntax
'Declaration
 
Public Function GetCosObjectByNumber( _
   ByVal objectNumber As UInteger, _
   Optional ByVal loadStreamContent As Boolean _
) As PdfCosObject
'Usage
 
Dim instance As PdfFile
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

Return Value

The COS object if exists, null otherwise.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfFile Class
PdfFile Members