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

In This Topic
    ToNameArray(IPdfArrayHolder,String) Method
    In This Topic
    Converts all elements of this PDF array to PDF names, and copies the converted values to a new string array.

    Uses defItemValue for values that cannot be converted to PDF names.

    Syntax
    'Declaration
     
    Public Overloads Shared Function ToNameArray( _
       ByVal pah As IPdfArrayHolder, _
       ByVal defItemValue As System.String _
    ) As System.String()
    public static System.string[] ToNameArray( 
       IPdfArrayHolder pah,
       System.string defItemValue
    )

    Parameters

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

    Return Value

    A string array containing values from this array.
    See Also