Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayExt Class / TryGetInt Method
The current array.
The index of the value to get.
OUT: The integer value.
Indicates whether to add a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if value at the specified index can't be converted to int.

In This Topic
    TryGetInt Method (IPdfArrayExt)
    In This Topic
    Tries to get the System.Int32 value at the specified index.
    Syntax
    'Declaration
     
    Public Shared Function TryGetInt( _
       ByVal array As IPdfArray, _
       ByVal index As System.Integer, _
       ByRef value As System.Integer, _
       Optional ByVal addWarning As System.Boolean _
    ) As System.Boolean
    public static System.bool TryGetInt( 
       IPdfArray array,
       System.int index,
       out System.int value,
       System.bool addWarning
    )

    Parameters

    array
    The current array.
    index
    The index of the value to get.
    value
    OUT: The integer value.
    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.

    Return Value

    true if value exists and can be converted to an int; otherwise false.
    See Also