ElementGetTextString Method |
Gets the text string.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public string GetTextString()
Public Function GetTextString As String
public:
virtual String^ GetTextString() sealed
function GetTextString();
Return Value
Type:
String a pointer to Unicode string for this text Element. The
function maps Character codes to Unicode Array defined by Adobe
Glyph List (http://partners.adobe.com/asn/developer/type/glyphlist.txt).
Remarks In PDF text can be encoded using various encoding schemes
and in some cases it is not possible to extract Unicode encoding.
If it is not possible to map Charcode to Unicode the function will
map a Character to undefined code, 0xFFFD. This code is defined in
private Unicode range.
If you would like to map raw text to Unicode (or some other encoding)
yourself use CharIterators returned by CharBegin()/CharEnd() and
PDF::Font code mapping methods.
The string owner is the current element (i.e. ElementReader or ElementBuilder).
See Also