Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayHolderExt Class / ToIntArray Method / ToIntArray(IPdfArrayHolder,Int32) Method
The current PDF array holder.
The default value for items that cannot be converted to integers.

In This Topic
    ToIntArray(IPdfArrayHolder,Int32) Method
    In This Topic
    Converts all elements of this PDF array to integers, and copies the converted values to a new array of integers.

    Uses defItemValue for values that cannot be converted to integers.

    Syntax
    'Declaration
     
    Public Overloads Shared Function ToIntArray( _
       ByVal pah As IPdfArrayHolder, _
       ByVal defItemValue As System.Integer _
    ) As System.Integer()
    public static System.int[] ToIntArray( 
       IPdfArrayHolder pah,
       System.int defItemValue
    )

    Parameters

    pah
    The current PDF array holder.
    defItemValue
    The default value for items that cannot be converted to integers.

    Return Value

    An integer array containing values from this array.
    See Also