TryGetBool Method (IPdfDictExt)
In This Topic
Tries to get the Boolean value associated with the specified key. If the value does not exist or cannot be converted to a Boolean, returns false.
Syntax
'Declaration
Public Shared Function TryGetBool( _
ByVal As IPdfDict, _
ByVal As PdfName, _
ByRef As System.Boolean _
) As System.Boolean
public static System.bool TryGetBool(
IPdfDict ,
PdfName ,
out System.bool
)
Parameters
- dict
- The current dictionary.
- key
- The key identifying the value.
- value
- OUT. When this method returns, contains the Boolean value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.
Return Value
true if value exists; otherwise, false.
See Also