[]
Tries to get the String value associated with the specified key. If the value does not exist or cannot be converted to a String, returns false.
public static bool TryGetString(this IPdfDict dict, PdfName key, out string value)
Public Shared Function TryGetString(dict As IPdfDict, key As PdfName, ByRef value As String) As Boolean
Type | Name | Description |
---|---|---|
IPdfDict | dict | The current dictionary. |
PdfName | key | The key identifying the value. |
string | value | OUT. When this method returns, contains the String value. |
Type | Description |
---|---|
bool | true if value exists; otherwise, false. |