[]
Gets the array of T
objects at the specified index.
Returns null if the array does not exist or cannot be converted to an array of T
.
public static T[] GetArray<T>(this IPdfArray array, int index, bool singleToArray, bool allowNulls, bool addWarning) where T : IPdfObject
Public Shared Function GetArray(Of T As IPdfObject)(array As IPdfArray, index As Integer, singleToArray As Boolean, allowNulls As Boolean, addWarning As Boolean) As T()
Type | Name | Description |
---|---|---|
IPdfArray | array | The current array. |
int | index | The index of the value to get. |
bool | singleToArray | Indicates whether to convert a single |
bool | allowNulls | |
bool | addWarning | Indicates whether to add a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if errors occur. |
Type | Description |
---|---|
T[] | The array associated with the specified key, or null. |
Name | Description |
---|---|
T |