Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayHolderExt Class / ToNameArray Method / ToNameArray(IPdfArrayHolder) Method
The current PDF array holder.

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

    Throws an exception if any value cannot be converted to a PDF name.

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

    Parameters

    pah
    The current PDF array holder.

    Return Value

    A string array containing all values from this array.
    See Also