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

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

    Uses defItemValue for values that cannot be converted to Booleans.

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

    Parameters

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

    Return Value

    A Boolean array containing values from this array.
    See Also