 | PdfiumFPDFDICT_GetStringByEx Method |
Gets the ANSI string associated with the specified key.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static string FPDFDICT_GetStringByEx(
IntPtr handle,
string key,
string defaultValue,
Encoding enc = null
)
Public Shared Function FPDFDICT_GetStringByEx (
handle As IntPtr,
key As String,
defaultValue As String,
Optional enc As Encoding = Nothing
) As String
public:
static String^ FPDFDICT_GetStringByEx(
IntPtr handle,
String^ key,
String^ defaultValue,
Encoding^ enc = nullptr
)
static member FPDFDICT_GetStringByEx :
handle : IntPtr *
key : string *
defaultValue : string *
?enc : Encoding
(* Defaults:
let _enc = defaultArg enc null
*)
-> string
public static String FPDFDICT_GetStringByEx(
IntPtr handle,
String key,
String defaultValue,
Encoding enc = null
)
Patagames.Pdf.Pdfium.FPDFDICT_GetStringByEx = function(handle, key, defaultValue, enc);
Parameters
- handle IntPtr
- Handle to Dictionary object.
- key String
- The key contained in the Dictionary.
- defaultValue String
- Default value.
- enc Encoding (Optional)
- The encoding used to decode an ANSI string into a String. if Null DefaultAnsiEncoding is used.
Return Value
StringA string associated with the specified key or
defaultValue if any error is occured.
Remarks
See Also