Click or drag to resize

PdfiumFPDFDICT_GetStringBy Method

Gets the ANSI string associated with the specified key.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static string FPDFDICT_GetStringBy(
	IntPtr handle,
	string key,
	Encoding enc = null
)

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

String
A string associated with the specified key or null if any error is occured.
Remarks
For unicode string objects please use FPDFDICT_GetUnicodeTextBy(IntPtr, String) instead.
See Also