Table of Contents

Method GetObject

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

GetObject(string, VCF, Type?)

Gets the PdfObject with the specified key, or null if no such object exists. If the key refers to a reference, the referenced PdfObject is returned. *

public PdfObject? GetObject(string key, VCF options = VCF.None, Type? valueType = null)

Parameters

key string
options VCF
valueType Type

Returns

PdfObject

GetObject<T>(string, VCF)

public T? GetObject<T>(string key, VCF options = VCF.None) where T : PdfObject

Parameters

key string
options VCF

Returns

T

Type Parameters

T