Method GetArray
GetArray(string, VCF, Type?)
Gets the PdfArray with the specified key, or null, if no such object exists and should not be created. If the key refers to a reference, the referenced PdfArray is returned. If the array exists, but cannot be transformed to type T, an exception is thrown.
public PdfArray? GetArray(string key, VCF options = VCF.None, Type? valueType = null)
Parameters
keystringThe key.
optionsVCFThe creation options.
valueTypeType
Returns
GetArray<T>(string, VCF)
Gets the PdfArray with the specified key, or null, if no such object exists and should not be created. If the key refers to a reference, the referenced PdfArray is returned. If the array exists, but cannot be transformed to type T, an exception is thrown.
public T? GetArray<T>(string key, VCF options = VCF.None) where T : PdfArray
Parameters
keystringThe key.
optionsVCFThe creation options.
Returns
- T
Type Parameters
T