[]
Converts a character's PDF code to its Unicode value.
Note that this method can fail if the font does not contain the necessary info for the conversion.
Note also that this method can be slow as it uses large font tables like /Encoding, /ToUnicode etc., so the returned results better be cached by the caller.
public override bool TryGetUnicode(uint pdfCode, out string unicode)
Public Overrides Function TryGetUnicode(pdfCode As UInteger, ByRef unicode As String) As Boolean
Type | Name | Description |
---|---|---|
uint | pdfCode | The character PDF code. |
string | unicode | OUT: The character Unicode. |
Type | Description |
---|---|
bool | True if the conversion was successful, false otherwise. |