[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.GetName

GetName Method

GetName(IPdfDict, PdfName, string)

Gets the PDF Name value associated with the specified key. If the value does not exist or cannot be converted to a PDF Name, returns defValue (which can be null).

Declaration
public static string GetName(this IPdfDict dict, PdfName key, string defValue)
Public Shared Function GetName(dict As IPdfDict, key As PdfName, defValue As String) As String
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key identifying the value.

string defValue

The default value.

Returns
Type Description
string

The value associated with the specified key, or null.