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

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

    If any item cannot be converted, returns null.

    Syntax
    'Declaration
     
    Public Shared Function TryToBoolArray( _
       ByVal pah As IPdfArrayHolder _
    ) As System.Boolean()
    public static System.bool[] TryToBoolArray( 
       IPdfArrayHolder pah
    )

    Parameters

    pah
    The current PDF array holder.

    Return Value

    A Boolean array containing all values from this array, or null.
    See Also