Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayHolderExt Class / TryAsDictArray Method
The current PDF array holder.

In This Topic
    TryAsDictArray Method
    In This Topic
    Tries to convert all elements of this PDF array to IPdfDictHolder objects, and copies the converted values to a new array.

    If any item cannot be converted, returns null.

    Syntax
    'Declaration
     
    Public Shared Function TryAsDictArray( _
       ByVal pah As IPdfArrayHolder _
    ) As IPdfDictHolder()
    public static IPdfDictHolder[] TryAsDictArray( 
       IPdfArrayHolder pah
    )

    Parameters

    pah
    The current PDF array holder.

    Return Value

    An array of IPdfDictHolder objects containing all items from this array, or null.
    See Also