[]
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).
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
Type | Name | Description |
---|---|---|
IPdfDict | dict | The current dictionary. |
PdfName | key | The key identifying the value. |
string | defValue | The default value. |
Type | Description |
---|---|
string | The value associated with the specified key, or null. |