Click or drag to resize

PdfTypeDictionaryGetStringBy Method

Gets the element with the specified key and returns it as an ANSI string.

Namespace: Patagames.Pdf.Net.BasicTypes
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public string GetStringBy(
	string key,
	Encoding enc = null
)

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

String
The string located at the specified key.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe key is null.
See Also