[]
Gets the string associated with the specified key. The string can be specified in the PDF as a PDF string or a PDF name.
Gets defValue
if the value does not exist or cannot be converted to a string.
public static string GetStringOrName(this IPdfDict dict, PdfName key, string defValue)
Public Shared Function GetStringOrName(dict As IPdfDict, key As PdfName, defValue As String) As String
Type | Name | Description |
---|---|---|
IPdfDict | dict | The current dictionary. |
PdfName | key | The key of the value to get. |
string | defValue | The default value. |
Type | Description |
---|---|
string | The value associated with the specified key. |