Method GetValue
GetValue(string, VCF, Type?)
Gets the value for the specified key. If the value does not exist, it is optionally created. If the value is a PDF reference the referenced object is returned, except the itemType is set to PdfReference.
public PdfItem? GetValue(string key, VCF options = VCF.None, Type? valueType = null)
Parameters
keystringoptionsVCFvalueTypeType
Returns
GetValue<T>(string, VCF)
public T? GetValue<T>(string key, VCF options = VCF.None) where T : PdfItem
Parameters
keystringoptionsVCF
Returns
- T
Type Parameters
T