| PdfTypeDictionaryGetStringBy Method |
Gets the element with the specified key and returns it as an ANSI string.
Namespace: Patagames.Pdf.Net.BasicTypesAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax public string GetStringBy(
string key,
Encoding enc = null
)
Public Function GetStringBy (
key As String,
Optional enc As Encoding = Nothing
) As String
public:
String^ GetStringBy(
String^ key,
Encoding^ enc = nullptr
)
member GetStringBy :
key : string *
?enc : Encoding
(* Defaults:
let _enc = defaultArg enc null
*)
-> string
public String GetStringBy(
String key,
Encoding enc = null
)
function GetStringBy(key, enc);
Parameters
- key String
- The key of the element to get.
- enc Encoding (Optional)
- The encoding used to decode an ANSI string into a String. if Null DefaultAnsiEncoding is used.
Return Value
StringThe string located at the specified key.
Exceptions See Also