 | PdfiumFPDFDICT_GetBooleanBy Method |
Gets the boolean value associated with the specified key.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDFDICT_GetBooleanBy(
IntPtr handle,
string key,
bool defaultValue = false
)
Public Shared Function FPDFDICT_GetBooleanBy (
handle As IntPtr,
key As String,
Optional defaultValue As Boolean = false
) As Boolean
public:
static bool FPDFDICT_GetBooleanBy(
IntPtr handle,
String^ key,
bool defaultValue = false
)
static member FPDFDICT_GetBooleanBy :
handle : IntPtr *
key : string *
?defaultValue : bool
(* Defaults:
let _defaultValue = defaultArg defaultValue false
*)
-> bool
public static boolean FPDFDICT_GetBooleanBy(
IntPtr handle,
String key,
boolean defaultValue = false
)
Patagames.Pdf.Pdfium.FPDFDICT_GetBooleanBy = function(handle, key, defaultValue);
Parameters
- handle IntPtr
- Handle to Dictionary object.
- key String
- The key contained in the Dictionary.
- defaultValue Boolean (Optional)
- Default value.
Return Value
BooleanA boolean value associated with the specified key. Please see remarks for important details.
Remarks Note |
---|
Please note this method returns defaultValue if key not found or false if handle is IntPtr.Zero |
See Also