'Declaration Public Shared Function TryAsArray(Of T As IPdfObject)( _ ByVal array As IPdfArray, _ ByRef values() As T, _ ByVal allowNulls As System.Boolean, _ ByVal addWarning As System.Boolean _ ) As System.Boolean
public static System.bool TryAsArray<T>( IPdfArray array, out T[] values, System.bool allowNulls, System.bool addWarning ) where T: IPdfObject
Parameters
- array
- The current array.
- values
- OUT: The array of T.
- allowNulls
- Indicates whether the IPdfNull should be handled as valid value and converted to a null reference (Nothing in Visual Basic).
- addWarning
- Indicates whether to add a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if errors occur.
Type Parameters
- T
Return Value
Returns true if no errors occur.