 | PdfiumFPDFDICT_GetStringBy 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_GetStringBy(
IntPtr handle,
string key,
Encoding enc = null
)
Public Shared Function FPDFDICT_GetStringBy (
handle As IntPtr,
key As String,
Optional enc As Encoding = Nothing
) As String
public:
static String^ FPDFDICT_GetStringBy(
IntPtr handle,
String^ key,
Encoding^ enc = nullptr
)
static member FPDFDICT_GetStringBy :
handle : IntPtr *
key : string *
?enc : Encoding
(* Defaults:
let _enc = defaultArg enc null
*)
-> string
public static String FPDFDICT_GetStringBy(
IntPtr handle,
String key,
Encoding enc = null
)
Patagames.Pdf.Pdfium.FPDFDICT_GetStringBy = function(handle, key, enc);
Parameters
- handle IntPtr
- Handle to Dictionary object.
- key String
- The key contained in the Dictionary.
- 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 null if any error is occured.
Remarks
See Also