[]
Tries to get the int value at the specified index.
public static bool TryGetInt(this IPdfArray array, int index, out int value, bool addWarning = true)
Public Shared Function TryGetInt(array As IPdfArray, index As Integer, ByRef value As Integer, Optional addWarning As Boolean = True) As Boolean
| Type | Name | Description |
|---|---|---|
| IPdfArray | array | The current array. |
| int | index | The index of the value to get. |
| int | value | OUT: The integer value. |
| bool | addWarning | Indicates whether to add a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if value at the specified index can't be converted to int. |
| Type | Description |
|---|---|
| bool | true if value exists and can be converted to an int; otherwise false. |