Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / PdfRef Class / TryGetReferencedObj Method
OUT: the referenced object, or null if it could not be found.

In This Topic
    TryGetReferencedObj Method
    In This Topic
    Tries to get the referenced PdfObject. If the current PdfRef references a PdfRefObject, all references in the chain are resolved until the actual referenced object is found.
    Syntax
    'Declaration
     
    Public Function TryGetReferencedObj( _
       ByRef obj As PdfObject _
    ) As System.Boolean
    public System.bool TryGetReferencedObj( 
       out PdfObject obj
    )

    Parameters

    obj
    OUT: the referenced object, or null if it could not be found.

    Return Value

    True if the referenced object was found (then obj contains that object), or false if the referenced object could not be found.
    See Also