Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictHolderExt Class / GetStringOrName Method / GetStringOrName(IPdfDictHolder,String) Method
The current PDF dictionary holder.
The key of the value to get.

In This Topic
    GetStringOrName(IPdfDictHolder,String) Method
    In This Topic
    Gets the string associated with the specified key. The string can be specified in the PDF as a PDF string or a PDF name.

    Throws an exception if the value does not exist or cannot be converted to a string.

    Syntax
    'Declaration
     
    Public Overloads Shared Function GetStringOrName( _
       ByVal pdh As IPdfDictHolder, _
       ByVal key As System.String _
    ) As System.String
    public static System.string GetStringOrName( 
       IPdfDictHolder pdh,
       System.string key
    )

    Parameters

    pdh
    The current PDF dictionary holder.
    key
    The key of the value to get.

    Return Value

    The value associated with the specified key.
    See Also