[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.GetString

GetString Method

GetString(IPdfDict, PdfName, string)

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

Declaration
public static string GetString(this IPdfDict dict, PdfName key, string defValue)
Public Shared Function GetString(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.